Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0111/0.0111, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.002262/0.002262, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004525/0.3743, allocations: 2.731 MB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3761, allocations: 1.093 MB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.3764, allocations: 4 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.3771, allocations: 218.5 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.3774, allocations: 79.25 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.378, allocations: 179.7 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.3785, allocations: 403.8 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.3789, allocations: 221.8 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3791, allocations: 155.2 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.3793, allocations: 179 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.441e-05/0.3794, allocations: 40 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.3797, allocations: 175.8 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.3799, allocations: 259.2 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3802, allocations: 357.6 kB / 1.173 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3813, allocations: 0.9722 MB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3813, allocations: 3.938 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3813, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.3813, allocations: 0 / 1.173 GB, free: 15.73 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001645/0.383, allocations: 1.162 MB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.383, allocations: 11.97 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.3843, allocations: 240 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.3856, allocations: 0.7353 MB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3856, allocations: 25.03 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.3857, allocations: 28.38 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.3865, allocations: 382.5 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3865, allocations: 3.938 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3866, allocations: 12 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3866, allocations: 12 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3876, allocations: 418.4 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.3908, allocations: 1.76 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.3914, allocations: 230.5 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3918, allocations: 100.8 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.3918, allocations: 4.312 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3918, allocations: 34.56 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 3.367e-06/0.3918, allocations: 4 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.00116/0.393, allocations: 378.9 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3931, allocations: 55.41 kB / 1.179 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.3947, allocations: 1.243 MB / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3947, allocations: 29.7 kB / 1.18 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.3951, allocations: 444.4 kB / 1.181 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.3951, allocations: 67.42 kB / 1.181 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.3952, allocations: 57.66 kB / 1.181 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3953, allocations: 314 kB / 1.181 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.3957, allocations: 143.9 kB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.3961, allocations: 207.4 kB / 1.181 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.3968, allocations: 285.6 kB / 1.182 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3968, allocations: 4 kB / 1.182 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009092/0.3977, allocations: 462.7 kB / 1.182 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3978, allocations: 7.984 kB / 1.182 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3978, allocations: 4 kB / 1.182 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3978, allocations: 3.938 kB / 1.182 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.3981, allocations: 59.91 kB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3981, allocations: 8 kB / 1.182 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.3984, allocations: 35.77 kB / 1.182 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.3984, allocations: 15.98 kB / 1.182 GB, free: 6.5 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002859/0.3987, allocations: 268.1 kB / 1.182 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3988, allocations: 91.38 kB / 1.183 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.3997, allocations: 327.9 kB / 1.183 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3997, allocations: 4 kB / 1.183 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3997, allocations: 4 kB / 1.183 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3997, allocations: 3.984 kB / 1.183 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.4014, allocations: 1.004 MB / 1.184 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4014, allocations: 0 / 1.184 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.4016, allocations: 48.09 kB / 1.184 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.4017, allocations: 11.92 kB / 1.184 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4017, allocations: 8 kB / 1.184 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.4017, allocations: 0 / 1.184 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4017, allocations: 4 kB / 1.184 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.4025, allocations: 444.1 kB / 1.184 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.4028, allocations: 212.4 kB / 1.185 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.4028, allocations: 8 kB / 1.185 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4031, allocations: 15.98 kB / 1.185 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.4032, allocations: 23.91 kB / 1.185 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.4032, allocations: 12 kB / 1.185 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00108/0.4043, allocations: 0.8989 MB / 1.185 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4043, allocations: 4 kB / 1.185 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004404/0.4048, allocations: 99.78 kB / 1.186 GB, free: 2.887 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002318/0.405, allocations: 123.2 kB / 1.186 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.4058, allocations: 275.7 kB / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4058, allocations: 320 / 1.186 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.4061, allocations: 107.8 kB / 1.186 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4066, allocations: 65.98 kB / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.4091, allocations: 1.393 MB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.4098, allocations: 0.9945 MB / 1.188 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002958/0.4101, allocations: 108.6 kB / 1.189 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4103, allocations: 47.36 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.4103, allocations: 0 / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.01194/0.4222, allocations: 5.599 MB / 1.194 GB, free: 10.11 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches