Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 106 kB / 18.84 MB, free: 3.043 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.00166/0.00166, allocations: 188.1 kB / 22.1 MB, free: 5.152 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.551/1.551, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.488/3.488, allocations: 495.8 MB / 0.783 GB, free: 33.46 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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal")
translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 64.11 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.489, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00447/0.4935, allocations: 2.294 MB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001733/0.4952, allocations: 0.9555 MB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.4953, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.496, allocations: 198.8 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.4961, allocations: 79.44 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.4965, allocations: 111.7 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003141/0.4968, allocations: 223 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.497, allocations: 69.91 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4971, allocations: 83.59 kB / 1.311 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.4973, allocations: 103.4 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.4973, allocations: 20 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.4977, allocations: 147.8 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.4979, allocations: 223.3 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.4982, allocations: 266.1 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.4991, allocations: 0.727 MB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4991, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.564e-06/0.4991, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.295e-06/0.4991, allocations: 0 / 1.312 GB, free: 12.35 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: 29
 * Number of variables: 29
Notification: Performance of Generate backend data structure: time 0.001454/0.5005, allocations: 0.9187 MB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.5006, allocations: 12.03 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.5012, allocations: 132.3 kB / 1.313 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.502, allocations: 0.5377 MB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.5021, allocations: 12.38 kB / 1.314 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.5021, allocations: 12.38 kB / 1.314 GB, free: 10.66 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.5026, allocations: 202.2 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5026, allocations: 192 / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.5026, allocations: 7.938 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5026, allocations: 4 kB / 1.314 GB, free: 10.45 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.5031, allocations: 231.8 kB / 1.314 GB, free: 10.22 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.5045, allocations: 0.874 MB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.5052, allocations: 310.5 kB / 1.315 GB, free: 8.992 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.5054, allocations: 100.9 kB / 1.315 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.5062, allocations: 171.8 kB / 1.316 GB, free: 8.723 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.5062, allocations: 30.56 kB / 1.316 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.5062, allocations: 0 / 1.316 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0008797/0.5071, allocations: 405 kB / 1.316 GB, free: 8.281 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.5071, allocations: 51.78 kB / 1.316 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5084, allocations: 0.9973 MB / 1.317 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.5085, allocations: 33.7 kB / 1.317 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.5088, allocations: 344.1 kB / 1.317 GB, free: 6.832 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.5089, allocations: 35.67 kB / 1.317 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.5089, allocations: 25.7 kB / 1.317 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000164/0.5091, allocations: 318 kB / 1.318 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.5093, allocations: 99.89 kB / 1.318 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.5095, allocations: 114.5 kB / 1.318 GB, free: 6.23 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.51, allocations: 222.4 kB / 1.318 GB, free: 6.004 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.51, allocations: 0 / 1.318 GB, free: 6.004 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006148/0.5106, allocations: 328.9 kB / 1.318 GB, free: 5.676 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5106, allocations: 4 kB / 1.318 GB, free: 5.672 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5106, allocations: 4 kB / 1.318 GB, free: 5.668 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5107, allocations: 0 / 1.318 GB, free: 5.668 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.5108, allocations: 27.97 kB / 1.318 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5108, allocations: 0 / 1.318 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.511, allocations: 12.02 kB / 1.318 GB, free: 5.629 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.511, allocations: 12 kB / 1.318 GB, free: 5.617 MB / 1.014 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.0003158/0.5113, allocations: 253.6 kB / 1.319 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5114, allocations: 79.42 kB / 1.319 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.5121, allocations: 328.4 kB / 1.319 GB, free: 4.953 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.5121, allocations: 4 kB / 1.319 GB, free: 4.949 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5121, allocations: 4 kB / 1.319 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5121, allocations: 4.172 kB / 1.319 GB, free: 4.941 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.5128, allocations: 0.4964 MB / 1.32 GB, free: 4.402 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5128, allocations: 7.875 kB / 1.32 GB, free: 4.395 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.5129, allocations: 23.97 kB / 1.32 GB, free: 4.371 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5129, allocations: 0 / 1.32 GB, free: 4.371 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5129, allocations: 0 / 1.32 GB, free: 4.371 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5129, allocations: 0 / 1.32 GB, free: 4.371 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5129, allocations: 0 / 1.32 GB, free: 4.371 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.5136, allocations: 410.9 kB / 1.32 GB, free: 3.953 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.5138, allocations: 111.4 kB / 1.32 GB, free: 3.844 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.5138, allocations: 7.938 kB / 1.32 GB, free: 3.836 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.514, allocations: 8 kB / 1.32 GB, free: 3.828 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.5141, allocations: 7.984 kB / 1.32 GB, free: 3.82 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5141, allocations: 0 / 1.32 GB, free: 3.82 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0009548/0.515, allocations: 0.7254 MB / 1.321 GB, free: 3.098 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.515, allocations: 0 / 1.321 GB, free: 3.098 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000368/0.5154, allocations: 67.89 kB / 1.321 GB, free: 3.031 MB / 1.014 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.0002248/0.5156, allocations: 119.9 kB / 1.321 GB, free: 2.902 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005545/0.5162, allocations: 211.8 kB / 1.321 GB, free: 2.695 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5162, allocations: 0 / 1.321 GB, free: 2.695 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.5164, allocations: 103.9 kB / 1.321 GB, free: 2.594 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.5168, allocations: 58.03 kB / 1.321 GB, free: 2.543 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.5188, allocations: 1.173 MB / 1.323 GB, free: 1.336 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.5196, allocations: 0.9453 MB / 1.323 GB, free: 376 kB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001964/0.5198, allocations: 81.31 kB / 1.324 GB, free: 296 kB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.5199, allocations: 35.42 kB / 1.324 GB, free: 260 kB / 1.014 GB
Notification: Performance of SimCode: time 8.12e-07/0.5199, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 GB
Notification: Performance of Templates: time 0.01147/0.5313, allocations: 4.54 MB / 1.328 GB, free: 11.72 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.163698651827872]