Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001533/0.001533, allocations: 103 kB / 16.27 MB, free: 6.414 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.001555/0.001555, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.92 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8316, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004163/0.8358, allocations: 2.748 MB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.838, allocations: 1.091 MB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.8383, allocations: 4.188 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.839, allocations: 212.4 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.8393, allocations: 90.25 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.8399, allocations: 179.8 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.8405, allocations: 398.7 kB / 1.088 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.8408, allocations: 206.8 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.841, allocations: 155.4 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.8412, allocations: 181.8 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.8413, allocations: 39.94 kB / 1.088 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.8417, allocations: 176.3 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.8419, allocations: 261.8 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.8422, allocations: 352.9 kB / 1.089 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.8433, allocations: 0.9415 MB / 1.09 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8433, allocations: 0.7031 kB / 1.09 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8433, allocations: 1.125 kB / 1.09 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.8433, allocations: 0 / 1.09 GB, free: 13.33 MB / 0.8419 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.001628/0.845, allocations: 1.128 MB / 1.091 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.845, allocations: 9.688 kB / 1.091 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.8463, allocations: 235.8 kB / 1.091 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.8477, allocations: 0.7249 MB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.8478, allocations: 21.16 kB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.8478, allocations: 32.69 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.8487, allocations: 383.2 kB / 1.092 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8487, allocations: 4.453 kB / 1.092 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.8488, allocations: 14.78 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.8488, allocations: 7.719 kB / 1.092 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.8498, allocations: 417.1 kB / 1.093 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.8534, allocations: 1.788 MB / 1.094 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.8541, allocations: 220.7 kB / 1.095 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.8544, allocations: 95.45 kB / 1.095 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.8545, allocations: 11.09 kB / 1.095 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.8545, allocations: 35.84 kB / 1.095 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.8545, allocations: 4 kB / 1.095 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.001127/0.8556, allocations: 378.2 kB / 1.095 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8557, allocations: 53.91 kB / 1.095 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.8573, allocations: 1.246 MB / 1.096 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.8573, allocations: 30.7 kB / 1.096 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.8577, allocations: 429.2 kB / 1.097 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.8578, allocations: 69.97 kB / 1.097 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.8579, allocations: 54.19 kB / 1.097 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8581, allocations: 316.1 kB / 1.097 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.8584, allocations: 145 kB / 1.097 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.8588, allocations: 205.3 kB / 1.098 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.8595, allocations: 287.4 kB / 1.098 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8595, allocations: 1.531 kB / 1.098 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009594/0.8605, allocations: 464.6 kB / 1.098 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.8605, allocations: 7.031 kB / 1.098 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8605, allocations: 1.312 kB / 1.098 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.8606, allocations: 6.469 kB / 1.098 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.8609, allocations: 60.45 kB / 1.098 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.8609, allocations: 3.375 kB / 1.098 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.8612, allocations: 37.25 kB / 1.098 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.8612, allocations: 8.266 kB / 1.098 GB, free: 8.547 MB / 0.8419 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.0003307/0.8616, allocations: 276.4 kB / 1.099 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8617, allocations: 85.22 kB / 1.099 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.8626, allocations: 321.7 kB / 1.099 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8626, allocations: 5.406 kB / 1.099 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8626, allocations: 1.031 kB / 1.099 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8626, allocations: 1.453 kB / 1.099 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.8645, allocations: 1.003 MB / 1.1 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8645, allocations: 2.219 kB / 1.1 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.8648, allocations: 49.23 kB / 1.1 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8648, allocations: 2.188 kB / 1.1 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.8648, allocations: 9.156 kB / 1.1 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8648, allocations: 4.391 kB / 1.1 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8648, allocations: 5.188 kB / 1.1 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.8657, allocations: 441 kB / 1.101 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.866, allocations: 206.1 kB / 1.101 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.866, allocations: 3.016 kB / 1.101 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.8663, allocations: 18.42 kB / 1.101 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.8664, allocations: 25.72 kB / 1.101 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.8664, allocations: 7.516 kB / 1.101 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001211/0.8676, allocations: 0.9022 MB / 1.102 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8676, allocations: 0 / 1.102 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005105/0.8682, allocations: 107.3 kB / 1.102 GB, free: 6.699 MB / 0.8419 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.0002204/0.8684, allocations: 115.8 kB / 1.102 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.8692, allocations: 288.7 kB / 1.102 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8692, allocations: 5.781 kB / 1.102 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.8696, allocations: 99.08 kB / 1.102 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.8701, allocations: 59.19 kB / 1.102 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.8726, allocations: 1.466 MB / 1.104 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.8733, allocations: 0.9936 MB / 1.105 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.8735, allocations: 46.64 kB / 1.105 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.8735, allocations: 0 / 1.105 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.01588/0.8894, allocations: 8.937 MB / 1.113 GB, free: 2.609 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches