Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 110.3 kB / 16.41 MB, free: 6.023 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.001284/0.001284, allocations: 192.3 kB / 17.34 MB, free: 5.629 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.11 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8696, allocations: 151.6 MB / 1.167 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003904/0.8735, allocations: 2.458 MB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.8744, allocations: 0.5353 MB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.8745, allocations: 4 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.8749, allocations: 131.4 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.8751, allocations: 95.28 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.8752, allocations: 47.88 kB / 1.171 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.8755, allocations: 230.8 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.8757, allocations: 115.1 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.8758, allocations: 87.59 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.876, allocations: 95.52 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.8761, allocations: 20 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.8761, allocations: 16 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.8762, allocations: 83.69 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.8764, allocations: 159 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.8768, allocations: 347.3 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8768, allocations: 4 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8768, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8768, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000907/0.8777, allocations: 0.6532 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8778, allocations: 12.92 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.8779, allocations: 48.66 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.8783, allocations: 310.5 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.8783, allocations: 12.38 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.8783, allocations: 12.38 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.8786, allocations: 143.5 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8787, allocations: 192 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.8787, allocations: 7.938 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8787, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.879, allocations: 91.89 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.8798, allocations: 0.5937 MB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.8801, allocations: 94.58 kB / 1.174 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.8802, allocations: 44.84 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.8802, allocations: 8 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.8803, allocations: 30.56 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.8803, allocations: 0 / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003971/0.8807, allocations: 145.4 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.8807, allocations: 55.34 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.8812, allocations: 390 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.8812, allocations: 29.7 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.8814, allocations: 224.2 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.8814, allocations: 31.73 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.8815, allocations: 21.72 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.8817, allocations: 354.7 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.8817, allocations: 23.98 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.8819, allocations: 56.8 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.8821, allocations: 91.36 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8821, allocations: 3.938 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002613/0.8823, allocations: 149.7 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8824, allocations: 6.906 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.8824, allocations: 4 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8824, allocations: 4.094 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.8825, allocations: 27.92 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8825, allocations: 3.938 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.8826, allocations: 11.95 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.8826, allocations: 4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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 0.0001585/0.8828, allocations: 167.9 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.8829, allocations: 35.77 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/0.8829, allocations: 47.2 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8829, allocations: 0 / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.883, allocations: 0 / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.883, allocations: 0 / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.8833, allocations: 309.4 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8833, allocations: 0 / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.8835, allocations: 19.98 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8835, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.8835, allocations: 8 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8835, allocations: 7.938 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8835, allocations: 0 / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.8839, allocations: 263.1 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.884, allocations: 112.9 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.884, allocations: 4 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.8841, allocations: 4 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.8842, allocations: 3.984 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.8842, allocations: 4 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002921/0.8845, allocations: 283.2 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8845, allocations: 4 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002802/0.8848, allocations: 47.83 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (9): * Single equations (assignments): 9 * 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.000133/0.8849, allocations: 99.25 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.8852, allocations: 75.94 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8852, allocations: 3.938 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.8853, allocations: 36.17 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.8856, allocations: 17.56 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.8868, allocations: 0.6754 MB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.8872, allocations: 0.7981 MB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.8873, allocations: 16.64 kB / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.8873, allocations: 11.44 kB / 1.178 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.8873, allocations: 0 / 1.178 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of Templates: time 0.005093/0.8924, allocations: 1.289 MB / 1.179 GB, free: 7.191 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches