Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001613/0.001613, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.473/1.473, 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 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 64.11 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.9529, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003686/0.9567, allocations: 2.267 MB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.9583, allocations: 0.9485 MB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.9585, allocations: 4 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.9591, allocations: 186.9 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.9593, allocations: 71.44 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.9597, allocations: 115.7 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.96, allocations: 223.1 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.9602, allocations: 89.34 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.9604, allocations: 87.52 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.9605, allocations: 103.4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.9606, allocations: 16 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.9609, allocations: 151.8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.9611, allocations: 215.3 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.9613, allocations: 262.1 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007539/0.9621, allocations: 0.7257 MB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9621, allocations: 0 / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9621, allocations: 4 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.9621, allocations: 0 / 1.173 GB, free: 14.38 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001543/0.9637, allocations: 0.9708 MB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.9637, allocations: 12.91 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/0.9643, allocations: 115.9 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.9651, allocations: 0.5934 MB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.9652, allocations: 4.375 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.9652, allocations: 16.31 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.9656, allocations: 202.1 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9657, allocations: 4.188 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.9657, allocations: 7.938 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.9657, allocations: 7.938 kB / 1.175 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.9662, allocations: 227.9 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.9675, allocations: 0.9176 MB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.9682, allocations: 314.6 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.9684, allocations: 104.8 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007555/0.9692, allocations: 244.9 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.9693, allocations: 38.48 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.335e-06/0.9693, allocations: 4 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0008804/0.9701, allocations: 396.6 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.9702, allocations: 55.41 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.9714, allocations: 0.9974 MB / 1.178 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.9715, allocations: 29.7 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.9718, allocations: 344 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.9718, allocations: 31.55 kB / 1.178 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.9719, allocations: 21.72 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.972, allocations: 314 kB / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.9722, allocations: 95.95 kB / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.9724, allocations: 114.5 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.9728, allocations: 226.4 kB / 1.179 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9729, allocations: 0 / 1.179 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006045/0.9735, allocations: 320.8 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.9735, allocations: 16 kB / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9735, allocations: 0 / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9735, allocations: 3.938 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.9737, allocations: 27.98 kB / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9737, allocations: 0 / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.9739, allocations: 15.92 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.9739, allocations: 4 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002607/0.9742, allocations: 251.9 kB / 1.179 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.9743, allocations: 75 kB / 1.18 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.9749, allocations: 328.4 kB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.975, allocations: 4 kB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.975, allocations: 0 / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.9752, allocations: 180.1 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.9753, allocations: 0 / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.9755, allocations: 11.98 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.9755, allocations: 11.92 kB / 1.18 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005659/0.9761, allocations: 324.8 kB / 1.18 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006336/0.9767, allocations: 481.7 kB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002137/0.977, allocations: 104.2 kB / 1.181 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000887/0.9779, allocations: 0.7293 MB / 1.182 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of Backend: time 4.81e-07/0.9779, allocations: 0 / 1.182 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000751/0.9786, allocations: 210.3 kB / 1.182 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001869/0.9805, allocations: 1.565 MB / 1.183 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of Templates: time 0.01171/0.9922, allocations: 5.182 MB / 1.188 GB, free: 13.86 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches