Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.00187/0.00187, 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.002008/0.002008, allocations: 190 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.506/1.506, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.464/3.464, allocations: 495.8 MB / 0.783 GB, free: 33.66 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck")
translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.14 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4493, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003013/0.4523, allocations: 1.273 MB / 1.308 GB, free: 0.582 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.004967/0.4573, allocations: 2.965 MB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.4573, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.4574, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.4574, allocations: 7.938 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.4581, allocations: 107.5 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.4582, allocations: 39.91 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.4582, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007209/0.4589, allocations: 183.5 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.459, allocations: 23.91 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.459, allocations: 0 / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4592, allocations: 55.83 kB / 1.311 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.4592, allocations: 4 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.4592, allocations: 19.92 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.4594, allocations: 71.73 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4594, allocations: 0 / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.593e-06/0.4594, allocations: 0 / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.239e-06/0.4594, allocations: 0 / 1.311 GB, free: 13.09 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.000806/0.4602, allocations: 262.3 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4603, allocations: 12.03 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.4603, allocations: 0.9375 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.4605, allocations: 110.5 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.4605, allocations: 4.312 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.4605, allocations: 20.3 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4607, allocations: 53.8 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4607, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.4607, allocations: 8 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4607, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.4608, allocations: 11.98 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.461, allocations: 144.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.4612, allocations: 58.48 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.4612, allocations: 8.859 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006834/0.4619, allocations: 241.8 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4619, allocations: 38.56 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.4619, allocations: 0 / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0007035/0.4626, allocations: 225.5 kB / 1.312 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4627, allocations: 55.41 kB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4628, allocations: 105.8 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4628, allocations: 25.7 kB / 1.313 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.4629, allocations: 88.03 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.4629, allocations: 35.67 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.463, allocations: 25.72 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001694/0.4631, allocations: 322.8 kB / 1.313 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.4632, allocations: 12 kB / 1.313 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.4632, allocations: 53.14 kB / 1.313 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.4633, allocations: 81.08 kB / 1.313 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4633, allocations: 3.938 kB / 1.313 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001524/0.4635, allocations: 89.95 kB / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4635, allocations: 7.984 kB / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4635, allocations: 4 kB / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4635, allocations: 0 / 1.313 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.4636, allocations: 27.94 kB / 1.313 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4636, allocations: 8.125 kB / 1.313 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.4637, allocations: 3.938 kB / 1.313 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4637, allocations: 4.078 kB / 1.313 GB, free: 10.72 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (12):
 * Single equations (assignments): 12
 * 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.0001142/0.4638, allocations: 117.8 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.4638, allocations: 4 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.4639, allocations: 8.062 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4639, allocations: 0 / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4639, allocations: 3.938 kB / 1.314 GB, free: 10.58 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4639, allocations: 7.938 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.4641, allocations: 148.7 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4641, allocations: 0 / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.4642, allocations: 15.98 kB / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4642, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4642, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4643, allocations: 7.984 kB / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4643, allocations: 0 / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.4645, allocations: 171.4 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.4645, allocations: 12.03 kB / 1.314 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.4645, allocations: 0 / 1.314 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4647, allocations: 11.94 kB / 1.314 GB, free: 10.16 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.4647, allocations: 3.984 kB / 1.314 GB, free: 10.15 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4647, allocations: 7.938 kB / 1.314 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.69e-05/0.4647, allocations: 75.66 kB / 1.314 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4647, allocations: 0 / 1.314 GB, free: 10.07 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002447/0.465, allocations: 16 kB / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hLiqSym,cpSym,cvSym)
 * 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 (7):
 * Single equations (assignments): 7
 * 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.0001668/0.4652, allocations: 112.2 kB / 1.314 GB, free: 9.934 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001351/0.4653, allocations: 39.92 kB / 1.314 GB, free: 9.895 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4653, allocations: 3.938 kB / 1.314 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.4653, allocations: 15.94 kB / 1.314 GB, free: 9.875 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4657, allocations: 6.578 kB / 1.314 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.4663, allocations: 322.9 kB / 1.314 GB, free: 9.527 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4668, allocations: 0.6963 MB / 1.315 GB, free: 8.805 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.756e-05/0.4668, allocations: 4 kB / 1.315 GB, free: 8.801 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.4668, allocations: 11.44 kB / 1.315 GB, free: 8.789 MB / 1.014 GB
Notification: Performance of SimCode: time 3.81e-07/0.4668, allocations: 0 / 1.315 GB, free: 8.789 MB / 1.014 GB
Notification: Performance of Templates: time 0.00346/0.4703, allocations: 0.6792 MB / 1.316 GB, free: 8.113 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
"Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat.
Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed!
Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat.
Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed!
"
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.736881285905838]