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.00138/0.00138, allocations: 107.4 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.001254/0.001254, allocations: 187 kB / 17.34 MB, free: 5.766 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 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.421/2.421, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7469, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003462/0.7504, allocations: 2.266 MB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.7519, allocations: 0.9408 MB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.7521, allocations: 4 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.7528, allocations: 186.9 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.7531, allocations: 75.44 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.7535, allocations: 115.7 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.7539, allocations: 219.1 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.7541, allocations: 93.34 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.7543, allocations: 91.52 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.7544, allocations: 99.42 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.7545, allocations: 16 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.7548, allocations: 151.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.755, allocations: 211.3 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.7553, allocations: 266 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.756, allocations: 0.7334 MB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.756, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.756, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.756, allocations: 4 kB / 1.173 GB, free: 14.41 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.001231/0.7573, allocations: 0.9669 MB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7573, allocations: 8.922 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005483/0.7579, allocations: 119.9 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.7586, allocations: 0.5972 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.7587, allocations: 8.375 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.7587, allocations: 12.38 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.7591, allocations: 198.1 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.7591, allocations: 192 / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.7591, allocations: 11.94 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7591, allocations: 4 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.7596, allocations: 223.9 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.7608, allocations: 0.9215 MB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.7615, allocations: 314.6 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.7617, allocations: 112.8 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000687/0.7624, allocations: 240.9 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.7624, allocations: 34.5 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.7624, allocations: 0 / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0008022/0.7632, allocations: 404.5 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.7633, allocations: 55.41 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.7644, allocations: 0.9935 MB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.7645, allocations: 25.7 kB / 1.178 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.7647, allocations: 348 kB / 1.178 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.7648, allocations: 27.56 kB / 1.178 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.7649, allocations: 29.7 kB / 1.178 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.765, allocations: 306 kB / 1.178 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.7652, allocations: 99.94 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.7654, allocations: 118.5 kB / 1.179 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.7658, allocations: 226.7 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7658, allocations: 3.938 kB / 1.179 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005398/0.7663, allocations: 316.5 kB / 1.179 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7664, allocations: 7.984 kB / 1.179 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7664, allocations: 4.062 kB / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7664, allocations: 7.938 kB / 1.179 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.7666, allocations: 19.98 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.7666, allocations: 4 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.7668, allocations: 15.92 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.7668, allocations: 4 kB / 1.179 GB, free: 7.422 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.0002477/0.767, allocations: 241.8 kB / 1.179 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.7671, allocations: 82.98 kB / 1.179 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.7678, allocations: 328.4 kB / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7678, allocations: 0 / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7678, allocations: 0 / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7678, allocations: 0 / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.7683, allocations: 0.5285 MB / 1.18 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.7683, allocations: 7.938 kB / 1.18 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.7685, allocations: 23.92 kB / 1.18 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.7685, allocations: 4 kB / 1.18 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.7685, allocations: 8 kB / 1.18 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7685, allocations: 0 / 1.18 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7685, allocations: 0 / 1.18 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.7691, allocations: 406.6 kB / 1.181 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.7694, allocations: 188 kB / 1.181 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.7694, allocations: 4 kB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.7696, allocations: 7.984 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.7697, allocations: 0 / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.7697, allocations: 11.98 kB / 1.181 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009105/0.7706, allocations: 0.7137 MB / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7706, allocations: 0 / 1.182 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003877/0.771, allocations: 71.91 kB / 1.182 GB, free: 4.723 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.000265/0.7713, allocations: 119.2 kB / 1.182 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.7718, allocations: 211.8 kB / 1.182 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7718, allocations: 4.125 kB / 1.182 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.772, allocations: 107.9 kB / 1.182 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.7725, allocations: 57.45 kB / 1.182 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.7745, allocations: 1.222 MB / 1.183 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.775, allocations: 0.944 MB / 1.184 GB, free: 2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7752, allocations: 31.44 kB / 1.184 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of SimCode: time 4.81e-07/0.7752, allocations: 4 kB / 1.184 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of Templates: time 0.01207/0.7872, allocations: 7.231 MB / 1.191 GB, free: 10.76 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