Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001429/0.001429, 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.001517/0.001517, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.352/1.352, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.933/2.933, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.64 kB / 1.145 GB, free: 30.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 174.9 MB / 1.316 GB, free: 9.734 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002294/0.356, allocations: 1.27 MB / 1.317 GB, free: 8.453 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003798/0.3598, allocations: 2.985 MB / 1.32 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.3598, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.3598, allocations: 11.92 kB / 1.32 GB, free: 5.438 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.3599, allocations: 7.922 kB / 1.32 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.3603, allocations: 99.53 kB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.3604, allocations: 43.86 kB / 1.32 GB, free: 5.289 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.3604, allocations: 0 / 1.32 GB, free: 5.289 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.3609, allocations: 187.4 kB / 1.32 GB, free: 5.105 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.361, allocations: 15.92 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.361, allocations: 0 / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3611, allocations: 75.81 kB / 1.321 GB, free: 5.016 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.3612, allocations: 7.984 kB / 1.321 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.3612, allocations: 11.94 kB / 1.321 GB, free: 4.996 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3614, allocations: 71.72 kB / 1.321 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3614, allocations: 0 / 1.321 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.3614, allocations: 4 kB / 1.321 GB, free: 4.922 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.839e-06/0.3614, allocations: 0 / 1.321 GB, free: 4.922 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.0004156/0.3618, allocations: 266.3 kB / 1.321 GB, free: 4.633 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3618, allocations: 8.031 kB / 1.321 GB, free: 4.625 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3619, allocations: 12.88 kB / 1.321 GB, free: 4.613 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.362, allocations: 102.5 kB / 1.321 GB, free: 4.488 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.362, allocations: 8.375 kB / 1.321 GB, free: 4.48 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.362, allocations: 4.375 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3622, allocations: 65.73 kB / 1.321 GB, free: 4.406 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3622, allocations: 0 / 1.321 GB, free: 4.406 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3622, allocations: 3.938 kB / 1.321 GB, free: 4.402 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3622, allocations: 4 kB / 1.321 GB, free: 4.398 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.302e-05/0.3622, allocations: 19.97 kB / 1.321 GB, free: 4.379 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.3624, allocations: 144.7 kB / 1.321 GB, free: 4.195 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3625, allocations: 54.48 kB / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.3626, allocations: 12.86 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.3631, allocations: 249.8 kB / 1.322 GB, free: 3.852 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3631, allocations: 34.5 kB / 1.322 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3631, allocations: 0 / 1.322 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.000551/0.3637, allocations: 225.5 kB / 1.322 GB, free: 3.555 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3637, allocations: 59.39 kB / 1.322 GB, free: 3.484 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.3638, allocations: 97.86 kB / 1.322 GB, free: 3.379 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3638, allocations: 25.7 kB / 1.322 GB, free: 3.348 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3639, allocations: 84.09 kB / 1.322 GB, free: 3.262 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3639, allocations: 31.73 kB / 1.322 GB, free: 3.23 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3639, allocations: 25.72 kB / 1.322 GB, free: 3.199 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001552/0.3641, allocations: 326.8 kB / 1.322 GB, free: 2.871 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.3641, allocations: 15.94 kB / 1.322 GB, free: 2.855 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.3642, allocations: 53.14 kB / 1.323 GB, free: 2.785 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.3643, allocations: 77.08 kB / 1.323 GB, free: 2.691 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3643, allocations: 0 / 1.323 GB, free: 2.691 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001366/0.3644, allocations: 97.5 kB / 1.323 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3645, allocations: 9.875 kB / 1.323 GB, free: 2.582 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3645, allocations: 0 / 1.323 GB, free: 2.582 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3645, allocations: 4 kB / 1.323 GB, free: 2.578 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.3645, allocations: 19.94 kB / 1.323 GB, free: 2.559 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3645, allocations: 3.984 kB / 1.323 GB, free: 2.555 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.3646, allocations: 8.062 kB / 1.323 GB, free: 2.547 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.3646, allocations: 8 kB / 1.323 GB, free: 2.539 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 7.436e-05/0.3647, allocations: 114.5 kB / 1.323 GB, free: 2.418 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.3647, allocations: 0 / 1.323 GB, free: 2.418 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.3647, allocations: 8.062 kB / 1.323 GB, free: 2.41 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3647, allocations: 4 kB / 1.323 GB, free: 2.406 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3647, allocations: 0 / 1.323 GB, free: 2.406 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3647, allocations: 3.938 kB / 1.323 GB, free: 2.402 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.365, allocations: 145.2 kB / 1.323 GB, free: 2.219 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.365, allocations: 3.938 kB / 1.323 GB, free: 2.215 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/0.365, allocations: 24.2 kB / 1.323 GB, free: 2.191 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.365, allocations: 8 kB / 1.323 GB, free: 2.184 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.365, allocations: 0 / 1.323 GB, free: 2.184 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3651, allocations: 0 / 1.323 GB, free: 2.184 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3651, allocations: 3.938 kB / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.3652, allocations: 179.4 kB / 1.323 GB, free: 1.988 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3653, allocations: 4 kB / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3653, allocations: 4 kB / 1.323 GB, free: 1.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.3654, allocations: 12.03 kB / 1.323 GB, free: 1.969 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.3654, allocations: 0 / 1.323 GB, free: 1.969 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.3654, allocations: 11.88 kB / 1.323 GB, free: 1.957 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.579e-05/0.3654, allocations: 87.27 kB / 1.323 GB, free: 1.871 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3654, allocations: 0 / 1.323 GB, free: 1.871 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002204/0.3657, allocations: 8 kB / 1.323 GB, free: 1.863 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.0001253/0.3658, allocations: 103.8 kB / 1.323 GB, free: 1.75 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001164/0.3659, allocations: 39.92 kB / 1.323 GB, free: 1.711 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3659, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.3659, allocations: 15.94 kB / 1.323 GB, free: 1.695 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.3662, allocations: 11.98 kB / 1.323 GB, free: 1.684 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.3668, allocations: 327.2 kB / 1.324 GB, free: 1.336 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3671, allocations: 0.6807 MB / 1.324 GB, free: 0.6289 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.145e-05/0.3671, allocations: 11.98 kB / 1.324 GB, free: 0.6172 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3671, allocations: 11.44 kB / 1.324 GB, free: 0.6055 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.3671, allocations: 0 / 1.324 GB, free: 0.6055 MB / 1.014 GB
Notification: Performance of Templates: time 0.003238/0.3704, allocations: 0.6701 MB / 1.325 GB, free: 15.94 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat.
Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed!
Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat.
Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed!
"
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.165714780800045]