Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 111.2 kB / 16.41 MB, free: 6.457 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.001133/0.001133, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.12 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9727/0.9741, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003737/0.9779, allocations: 1.754 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002287/0.9782, allocations: 83.67 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.9783, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.9784, allocations: 7.875 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.854e-05/0.9785, allocations: 23.78 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.9786, allocations: 27.97 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.9787, allocations: 107.7 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.9789, allocations: 49.11 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.979, allocations: 39.84 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.9791, allocations: 51.77 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.9791, allocations: 16 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.9792, allocations: 12 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.9792, allocations: 23.91 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.9793, allocations: 47.73 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.9794, allocations: 123.2 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9795, allocations: 0 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9795, allocations: 0 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.9795, allocations: 3.938 kB / 1.211 GB, free: 11.24 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007411/0.9802, allocations: 433 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.9803, allocations: 11.97 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.9803, allocations: 16.84 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.9806, allocations: 202.4 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.9806, allocations: 8.359 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.9806, allocations: 12.38 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.981, allocations: 131.9 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.981, allocations: 192 / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.981, allocations: 3.938 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.9811, allocations: 0 / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.9815, allocations: 119.9 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.982, allocations: 376.4 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.9824, allocations: 94.45 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.9826, allocations: 60.92 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.9826, allocations: 4 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.9827, allocations: 34.56 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.9827, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0007608/0.9834, allocations: 197.4 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.9835, allocations: 51.41 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.9836, allocations: 125.8 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.9836, allocations: 25.7 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.9837, allocations: 107.9 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.9838, allocations: 31.64 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.9838, allocations: 21.7 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.984, allocations: 310.8 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.9842, allocations: 51.94 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.9844, allocations: 55.94 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.9848, allocations: 100.8 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9848, allocations: 3.984 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00046/0.9853, allocations: 145.4 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9853, allocations: 8 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9853, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.9853, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.9855, allocations: 28.34 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.9855, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.9856, allocations: 27.97 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.9856, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.458e-05/0.9857, allocations: 117.8 kB / 1.214 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.9858, allocations: 7.906 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.9858, allocations: 16.36 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9858, allocations: 3.938 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9858, allocations: 3.938 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.9859, allocations: 81.02 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.9859, allocations: 8 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.9861, allocations: 19.97 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.9861, allocations: 4 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005798/0.9867, allocations: 240.8 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005225/0.9872, allocations: 314.7 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002191/0.9875, allocations: 59.94 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.9875, allocations: 100.5 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of Backend: time 9.52e-07/0.9875, allocations: 0 / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.9881, allocations: 142.3 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006327/0.9888, allocations: 0.6282 MB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of Templates: time 0.00416/0.9929, allocations: 1.303 MB / 1.216 GB, free: 5.152 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches