Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 190.9 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001849, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8674, allocations: 140.3 MB / 0.9489 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002101/0.8695, allocations: 0.8866 MB / 0.9498 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001055/0.8697, allocations: 42.44 kB / 0.9498 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.8697, allocations: 1.406 kB / 0.9498 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.8698, allocations: 7.875 kB / 0.9498 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.8699, allocations: 7.922 kB / 0.9498 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.483e-05/0.8699, allocations: 19.67 kB / 0.9499 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.87, allocations: 55.28 kB / 0.9499 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.8702, allocations: 39.62 kB / 0.9499 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.8702, allocations: 22.94 kB / 0.95 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.8703, allocations: 32.19 kB / 0.95 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.8703, allocations: 4.656 kB / 0.95 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.8703, allocations: 5.281 kB / 0.95 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.8704, allocations: 13.94 kB / 0.95 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.8704, allocations: 30.05 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.8705, allocations: 72.92 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8705, allocations: 1.156 kB / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8705, allocations: 0 / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.8705, allocations: 0 / 0.9501 GB, free: 8.211 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003873/0.8709, allocations: 379.8 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.871, allocations: 9.656 kB / 0.9505 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.871, allocations: 10.44 kB / 0.9505 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.8712, allocations: 194.2 kB / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.8712, allocations: 14.98 kB / 0.9507 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.8712, allocations: 5.656 kB / 0.9507 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.8714, allocations: 93.42 kB / 0.9508 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8714, allocations: 192 / 0.9508 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8714, allocations: 5.25 kB / 0.9508 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.8714, allocations: 1.562 kB / 0.9508 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.8715, allocations: 39.5 kB / 0.9508 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.872, allocations: 441.4 kB / 0.9513 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.872, allocations: 41.33 kB / 0.9513 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.8721, allocations: 23.31 kB / 0.9513 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.8721, allocations: 1.438 kB / 0.9513 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.8721, allocations: 35.91 kB / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8721, allocations: 0 / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.8723, allocations: 55.11 kB / 0.9514 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.8723, allocations: 81.09 kB / 0.9515 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.8725, allocations: 165.9 kB / 0.9516 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.8725, allocations: 25.7 kB / 0.9517 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.8725, allocations: 109.4 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.8725, allocations: 7.906 kB / 0.9518 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.8726, allocations: 21.77 kB / 0.9518 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.8726, allocations: 317.6 kB / 0.9521 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.8727, allocations: 10.73 kB / 0.9521 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.8727, allocations: 15.22 kB / 0.9521 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.8727, allocations: 33.91 kB / 0.9522 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.8728, allocations: 0 / 0.9522 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.226e-05/0.8728, allocations: 55.47 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8729, allocations: 5.5 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8729, allocations: 7.938 kB / 0.9522 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8729, allocations: 1.375 kB / 0.9522 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.873, allocations: 9.438 kB / 0.9522 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.873, allocations: 5.438 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.873, allocations: 1.375 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.873, allocations: 1.375 kB / 0.9522 GB, free: 6.039 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.8731, allocations: 114 kB / 0.9524 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.8731, allocations: 8.031 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.8732, allocations: 18.55 kB / 0.9524 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8732, allocations: 1.375 kB / 0.9524 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8732, allocations: 0 / 0.9524 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8732, allocations: 1.375 kB / 0.9524 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.8735, allocations: 478 kB / 0.9528 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.8735, allocations: 3.938 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.8735, allocations: 2.75 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.8735, allocations: 1.375 kB / 0.9528 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8735, allocations: 1.375 kB / 0.9529 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8735, allocations: 3.984 kB / 0.9529 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8735, allocations: 1.375 kB / 0.9529 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.8736, allocations: 82.22 kB / 0.9529 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.8736, allocations: 95.69 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.8737, allocations: 1.375 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.8737, allocations: 1.375 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.8737, allocations: 0 / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.8737, allocations: 1.375 kB / 0.953 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.26e-05/0.8738, allocations: 124.4 kB / 0.9531 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8738, allocations: 0 / 0.9531 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001889/0.874, allocations: 8.125 kB / 0.9532 GB, free: 5.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.8741, allocations: 99.78 kB / 0.9533 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.145e-05/0.8742, allocations: 22.77 kB / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8742, allocations: 0 / 0.9533 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.258e-05/0.8742, allocations: 8.594 kB / 0.9533 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.8744, allocations: 16.31 kB / 0.9533 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.8747, allocations: 170.2 kB / 0.9535 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.8749, allocations: 0.6987 MB / 0.9541 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.8749, allocations: 5.219 kB / 0.9541 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.8749, allocations: 11.09 kB / 0.9542 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8749, allocations: 0 / 0.9542 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of Templates: time 0.002687/0.8776, allocations: 443.8 kB / 0.9546 GB, free: 3.859 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches