Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false)
Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"})
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006642/0.006642, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001554/0.001555, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB
Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8016, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001919/0.8036, allocations: 1.266 MB / 1.089 GB, free: 4.395 MB / 0.8575 GB
Notification: Performance of NFInst.instExpressions: time 0.002999/0.8066, allocations: 2.916 MB / 1.092 GB, free: 2.305 MB / 0.8575 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.8066, allocations: 1.094 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB
Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.8067, allocations: 8.672 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB
Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.8067, allocations: 6.203 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.8072, allocations: 102.2 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB
Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.8072, allocations: 35.91 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.8073, allocations: 7.188 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.8077, allocations: 151.7 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.8078, allocations: 18.47 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB
Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.8078, allocations: 2.594 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.808, allocations: 65.19 kB / 1.092 GB, free: 2.133 MB / 0.8575 GB
Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.808, allocations: 12.69 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB
Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.808, allocations: 19.94 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.8082, allocations: 63.77 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB
Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8082, allocations: 0.8125 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB
Notification: Performance of FrontEnd: time 1.152e-06/0.8082, allocations: 0 / 1.092 GB, free: 2.094 MB / 0.8575 GB
Notification: Performance of Transformations before backend: time 4.709e-06/0.8082, allocations: 0.8125 kB / 1.092 GB, free: 2.094 MB / 0.8575 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.000318/0.8085, allocations: 350.1 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB
Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8086, allocations: 10.27 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.8086, allocations: 33.02 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.8086, allocations: 3.781 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 6.052e-05/0.8087, allocations: 169.9 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8087, allocations: 7.297 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.8088, allocations: 4.312 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.8089, allocations: 57.67 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8089, allocations: 0 / 1.093 GB, free: 1.438 MB / 0.8575 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.8089, allocations: 1.281 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.8089, allocations: 0.7969 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.809, allocations: 23.28 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.8091, allocations: 163.7 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.8092, allocations: 57.2 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.8093, allocations: 22.05 kB / 1.093 GB, free: 1.18 MB / 0.8575 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000566/0.8098, allocations: 0.5962 MB / 1.093 GB, free: 0.5391 MB / 0.8575 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.8099, allocations: 31.28 kB / 1.093 GB, free: 0.5 MB / 0.8575 GB
Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8099, allocations: 4 kB / 1.093 GB, free: 0.4961 MB / 0.8575 GB
Notification: Performance of matching and sorting (n=7): time 0.0004953/0.8104, allocations: 297 kB / 1.094 GB, free: 224 kB / 0.8575 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.8104, allocations: 56.44 kB / 1.094 GB, free: 156 kB / 0.8575 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.8104, allocations: 104 kB / 1.094 GB, free: 48 kB / 0.8575 GB
Notification: Performance of collectPreVariables (initialization): time 9.006e-06/0.8105, allocations: 26.67 kB / 1.094 GB, free: 16 kB / 0.8575 GB
Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.8105, allocations: 93.44 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB
Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.8106, allocations: 22.8 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.8106, allocations: 29.92 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB
Notification: Performance of setup shared object (initialization): time 8.926e-05/0.8107, allocations: 318.5 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.8107, allocations: 13.59 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.8108, allocations: 57.17 kB / 1.094 GB, free: 15.5 MB / 0.8731 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.8109, allocations: 77.27 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.8109, allocations: 0 / 1.095 GB, free: 15.43 MB / 0.8731 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.000144/0.811, allocations: 94.33 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB
Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8111, allocations: 6.422 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.8111, allocations: 5.812 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8111, allocations: 6.156 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.8112, allocations: 27.56 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8112, allocations: 1.656 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.8112, allocations: 6.203 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.8113, allocations: 4.938 kB / 1.095 GB, free: 15.36 MB / 0.8731 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.452e-05/0.8113, allocations: 124.1 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.8114, allocations: 6.844 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.8114, allocations: 8.672 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8114, allocations: 5.297 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.8114, allocations: 0.6875 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.8114, allocations: 4.734 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.8117, allocations: 177.2 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8117, allocations: 0.5625 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.8118, allocations: 15.06 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8118, allocations: 0.7188 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.8118, allocations: 1.234 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8118, allocations: 0.7188 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8118, allocations: 1.469 kB / 1.095 GB, free: 15.01 MB / 0.8731 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.812, allocations: 175.3 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.8121, allocations: 85.59 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.8121, allocations: 5.656 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.8122, allocations: 3.203 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.8122, allocations: 7.781 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.8122, allocations: 2.797 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB
Notification: Performance of sorting global known variables: time 3.152e-05/0.8123, allocations: 83.02 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.8123, allocations: 0 / 1.095 GB, free: 14.68 MB / 0.8731 GB
Notification: Performance of remove unused functions: time 0.0002405/0.8125, allocations: 14.34 kB / 1.095 GB, free: 14.67 MB / 0.8731 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.0004033/0.8129, allocations: 0.7109 MB / 1.096 GB, free: 13.99 MB / 0.8731 GB
Notification: Performance of simCode: created initialization part: time 0.0001131/0.813, allocations: 46.45 kB / 1.096 GB, free: 13.97 MB / 0.8731 GB
Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8131, allocations: 8.875 kB / 1.096 GB, free: 13.96 MB / 0.8731 GB
Notification: Performance of simCode: created simulation system equations: time 2.533e-05/0.8131, allocations: 13.16 kB / 1.096 GB, free: 13.96 MB / 0.8731 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.8134, allocations: 13.14 kB / 1.096 GB, free: 13.96 MB / 0.8731 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.8147, allocations: 1.541 MB / 1.098 GB, free: 12.5 MB / 0.8731 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.8149, allocations: 0.6825 MB / 1.098 GB, free: 11.81 MB / 0.8731 GB
Notification: Performance of simCode: alias equations: time 4.819e-05/0.815, allocations: 9.859 kB / 1.098 GB, free: 11.8 MB / 0.8731 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.815, allocations: 11.83 kB / 1.098 GB, free: 11.8 MB / 0.8731 GB
Notification: Performance of SimCode: time 2.3e-07/0.815, allocations: 0 / 1.098 GB, free: 11.8 MB / 0.8731 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2254/1.04, allocations: 1.663 MB / 1.1 GB, free: 11.4 MB / 0.8731 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.856, allocations: 15.28 kB / 1.1 GB, free: 11.39 MB / 0.8731 GB
(rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)
diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
"Warning: Resultfile and Reference have different end time points!
Reffile[501]=1.000000
File[5]=0.004000
Error: Could not read variable der(cpCod) in file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat.
Warning: Get data of variable der(cpCod) from file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed!
Error: Could not read variable der(cvCod) in file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat.
Warning: Get data of variable der(cvCod) from file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed!
"

Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod)

Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpSym),der(cvSym),der(hLiqCod),der(hLiqSym),hLiqCod,hLiqSym,time