Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002935/0.002935, allocations: 193.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.417/3.417, allocations: 496 MB / 0.7835 GB, free: 33.52 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp")
translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.38 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5093, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005548/0.5149, allocations: 2.784 MB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00226/0.5171, allocations: 1.096 MB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.5173, allocations: 4 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.518, allocations: 222.5 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.5182, allocations: 87.25 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.5187, allocations: 183.7 kB / 1.312 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004874/0.5192, allocations: 411.7 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.5196, allocations: 162.3 kB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.5198, allocations: 151.3 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.52, allocations: 179 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.5201, allocations: 40 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.5204, allocations: 187.8 kB / 1.313 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000255/0.5207, allocations: 263.1 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.521, allocations: 349.6 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001213/0.5222, allocations: 0.972 MB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5222, allocations: 0 / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.694e-06/0.5222, allocations: 0 / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.802e-05/0.5222, allocations: 0 / 1.314 GB, free: 10.69 MB / 1.014 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.001759/0.524, allocations: 1.083 MB / 1.315 GB, free: 9.566 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.524, allocations: 8.922 kB / 1.315 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.5254, allocations: 248 kB / 1.315 GB, free: 9.316 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.5268, allocations: 0.6711 MB / 1.316 GB, free: 8.605 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.5269, allocations: 21.03 kB / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.5269, allocations: 32.38 kB / 1.316 GB, free: 8.555 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.5277, allocations: 378.5 kB / 1.317 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5278, allocations: 3.938 kB / 1.317 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.5278, allocations: 16 kB / 1.317 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.5278, allocations: 11.94 kB / 1.317 GB, free: 8.152 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/0.5288, allocations: 414.4 kB / 1.317 GB, free: 7.742 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.5321, allocations: 1.602 MB / 1.319 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.5328, allocations: 206.6 kB / 1.319 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.5331, allocations: 88.81 kB / 1.319 GB, free: 5.793 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.5331, allocations: 7.984 kB / 1.319 GB, free: 5.785 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5332, allocations: 38.56 kB / 1.319 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.5332, allocations: 4 kB / 1.319 GB, free: 5.734 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20): time 0.001087/0.5343, allocations: 375.1 kB / 1.319 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.5343, allocations: 55.41 kB / 1.319 GB, free: 5.297 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.5359, allocations: 1.243 MB / 1.32 GB, free: 4.031 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.5359, allocations: 29.7 kB / 1.321 GB, free: 3.996 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.5363, allocations: 432.7 kB / 1.321 GB, free: 3.57 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.5364, allocations: 79.34 kB / 1.321 GB, free: 3.492 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.5365, allocations: 53.66 kB / 1.321 GB, free: 3.434 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001533/0.5367, allocations: 322 kB / 1.321 GB, free: 3.113 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.537, allocations: 143.9 kB / 1.321 GB, free: 2.973 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.5374, allocations: 201.9 kB / 1.322 GB, free: 2.754 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.5381, allocations: 277 kB / 1.322 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5381, allocations: 0 / 1.322 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009324/0.539, allocations: 471.2 kB / 1.322 GB, free: 2 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.539, allocations: 8 kB / 1.322 GB, free: 1.992 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.539, allocations: 0 / 1.322 GB, free: 1.992 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.539, allocations: 7.938 kB / 1.322 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.5394, allocations: 63.98 kB / 1.322 GB, free: 1.922 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5394, allocations: 7.938 kB / 1.322 GB, free: 1.914 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.5397, allocations: 35.77 kB / 1.323 GB, free: 1.879 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.5397, allocations: 8 kB / 1.323 GB, free: 1.871 MB / 1.014 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.0003436/0.54, allocations: 281.5 kB / 1.323 GB, free: 1.586 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5401, allocations: 87.44 kB / 1.323 GB, free: 1.5 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008551/0.541, allocations: 333.6 kB / 1.323 GB, free: 1.164 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.541, allocations: 4 kB / 1.323 GB, free: 1.16 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.541, allocations: 0 / 1.323 GB, free: 1.16 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.541, allocations: 0 / 1.323 GB, free: 1.16 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.5428, allocations: 0.9637 MB / 1.324 GB, free: 132 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.5428, allocations: 3.984 kB / 1.324 GB, free: 128 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.5431, allocations: 48.09 kB / 1.324 GB, free: 80 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5431, allocations: 4 kB / 1.324 GB, free: 76 kB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.5431, allocations: 8 kB / 1.324 GB, free: 68 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5431, allocations: 0 / 1.324 GB, free: 68 kB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5431, allocations: 7.938 kB / 1.324 GB, free: 60 kB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.5439, allocations: 441.7 kB / 1.325 GB, free: 15.59 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.5442, allocations: 135.3 kB / 1.325 GB, free: 15.46 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.5443, allocations: 4 kB / 1.325 GB, free: 15.46 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.5446, allocations: 19.97 kB / 1.325 GB, free: 15.44 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.5447, allocations: 31.84 kB / 1.325 GB, free: 15.41 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.5447, allocations: 8 kB / 1.325 GB, free: 15.4 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.00123/0.5459, allocations: 0.8989 MB / 1.326 GB, free: 14.49 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.21e-07/0.5459, allocations: 4 kB / 1.326 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004459/0.5464, allocations: 103.8 kB / 1.326 GB, free: 14.38 MB / 1.029 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.0002325/0.5466, allocations: 112 kB / 1.326 GB, free: 14.27 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0007479/0.5473, allocations: 275.7 kB / 1.326 GB, free: 14 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5473, allocations: 4.312 kB / 1.326 GB, free: 13.99 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.5476, allocations: 95.88 kB / 1.326 GB, free: 13.9 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.5482, allocations: 63.48 kB / 1.326 GB, free: 13.83 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.5507, allocations: 1.391 MB / 1.328 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/0.5515, allocations: 1.003 MB / 1.329 GB, free: 11.37 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0003168/0.5518, allocations: 92.66 kB / 1.329 GB, free: 11.27 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.552, allocations: 47.42 kB / 1.329 GB, free: 11.23 MB / 1.029 GB
Notification: Performance of SimCode: time 5.71e-07/0.552, allocations: 3.938 kB / 1.329 GB, free: 11.22 MB / 1.029 GB
Notification: Performance of Templates: time 0.01396/0.5659, allocations: 5.752 MB / 1.334 GB, free: 5.48 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.375051093287766]