Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001949/0.001949, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.973/0.9744, allocations: 157.4 MB / 1.208 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003116/0.9776, allocations: 0.8113 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000232/0.9779, allocations: 43.72 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.978, allocations: 0 / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.788e-05/0.9781, allocations: 15.86 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.9783, allocations: 15.88 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.058e-05/0.9784, allocations: 15.98 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.9786, allocations: 63.83 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.9788, allocations: 51.91 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.9788, allocations: 23.88 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.9789, allocations: 31.78 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.979, allocations: 4 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.979, allocations: 8 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.979, allocations: 11.94 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.9791, allocations: 35.8 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.9792, allocations: 71.7 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.9792, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9792, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.9792, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9356 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.0005093/0.9798, allocations: 396.7 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9798, allocations: 8.031 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.9799, allocations: 8.844 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.9801, allocations: 192.2 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.9801, allocations: 8.375 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.9802, allocations: 8.359 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.9803, allocations: 99.88 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9804, allocations: 192 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.9804, allocations: 7.938 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.9804, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.9805, allocations: 35.98 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.981, allocations: 436.5 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.9811, allocations: 45.22 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.9812, allocations: 21.86 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.9812, allocations: 7.938 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.9812, allocations: 30.56 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.9812, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000201/0.9814, allocations: 57.48 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.9815, allocations: 77.11 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.9816, allocations: 160.5 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.9817, allocations: 29.7 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.9817, allocations: 104 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.9818, allocations: 7.906 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.9818, allocations: 17.7 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9819, allocations: 319.1 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.982, allocations: 8 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.982, allocations: 17.7 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.9821, allocations: 33.66 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9821, allocations: 4 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.64e-05/0.9822, allocations: 53.59 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9822, allocations: 8.062 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9822, allocations: 4 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.9822, allocations: 3.938 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.9823, allocations: 7.938 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9823, allocations: 0 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.9824, allocations: 7.906 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.9824, allocations: 3.938 kB / 1.212 GB, free: 10.07 MB / 0.9356 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 9.6e-05/0.9825, allocations: 113.8 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.9825, allocations: 7.906 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.9826, allocations: 23.8 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9826, allocations: 3.938 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9826, allocations: 0 / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.9827, allocations: 85.02 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.9827, allocations: 7.984 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.9828, allocations: 4 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.9828, allocations: 0 / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000137/0.9829, allocations: 196.2 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001957/0.9832, allocations: 294 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.558e-05/0.9832, allocations: 11.94 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.89e-05/0.9833, allocations: 119.2 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of Backend: time 2.61e-07/0.9833, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.9838, allocations: 102.2 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005227/0.9843, allocations: 0.6044 MB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.002909/0.9872, allocations: 0.5162 MB / 1.214 GB, free: 7.891 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches