Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001701/0.001701, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001973/0.001973, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.88 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.055, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002434/1.057, allocations: 1.268 MB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003555/1.061, allocations: 2.979 MB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/1.061, allocations: 0 / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/1.061, allocations: 3.938 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/1.061, allocations: 8.766 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/1.061, allocations: 97.17 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.779e-05/1.061, allocations: 44.92 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/1.061, allocations: 4.875 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/1.062, allocations: 162.6 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/1.062, allocations: 20.73 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/1.062, allocations: 1.75 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/1.062, allocations: 66.38 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/1.062, allocations: 10.56 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/1.062, allocations: 14.31 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/1.062, allocations: 63.73 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.062, allocations: 0.5312 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/1.062, allocations: 0 / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.062, allocations: 4.625 kB / 1.276 GB, free: 4.48 MB / 0.9981 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.0003614/1.063, allocations: 346.3 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.063, allocations: 9.125 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/1.063, allocations: 44.38 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/1.063, allocations: 7.828 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/1.063, allocations: 161.2 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.063, allocations: 2.031 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/1.063, allocations: 12.03 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/1.063, allocations: 56.36 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.063, allocations: 0.875 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/1.063, allocations: 0.9375 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.063, allocations: 0.7188 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/1.063, allocations: 24.11 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/1.063, allocations: 165.1 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.895e-05/1.063, allocations: 52.8 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/1.063, allocations: 18.61 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/1.064, allocations: 0.5948 MB / 1.278 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/1.064, allocations: 35.72 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/1.064, allocations: 0 / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005399/1.064, allocations: 296.8 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/1.064, allocations: 56.59 kB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.168e-05/1.064, allocations: 104.3 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/1.064, allocations: 26.86 kB / 1.278 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/1.064, allocations: 97.47 kB / 1.278 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/1.064, allocations: 24.69 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/1.065, allocations: 23.98 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/1.065, allocations: 318 kB / 1.278 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/1.065, allocations: 21.12 kB / 1.279 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/1.065, allocations: 49.47 kB / 1.279 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/1.065, allocations: 72.47 kB / 1.279 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.065, allocations: 0.75 kB / 1.279 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/1.065, allocations: 102.8 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.065, allocations: 5.812 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.065, allocations: 1.734 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.065, allocations: 1.969 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/1.065, allocations: 24.2 kB / 1.279 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.065, allocations: 5.953 kB / 1.279 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/1.065, allocations: 10.44 kB / 1.279 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/1.065, allocations: 9.5 kB / 1.279 GB, free: 1.738 MB / 0.9981 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 5.127e-05/1.065, allocations: 112.7 kB / 1.279 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/1.065, allocations: 6.281 kB / 1.279 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/1.065, allocations: 9.562 kB / 1.279 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.065, allocations: 1.5 kB / 1.279 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.065, allocations: 4 kB / 1.279 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.065, allocations: 5.328 kB / 1.279 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/1.065, allocations: 169.4 kB / 1.279 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.065, allocations: 11.88 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/1.065, allocations: 15.31 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/1.065, allocations: 0.9688 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.065, allocations: 1.234 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.065, allocations: 0.875 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.065, allocations: 0.5156 kB / 1.279 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/1.066, allocations: 175.8 kB / 1.279 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/1.066, allocations: 85.45 kB / 1.279 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/1.066, allocations: 5.875 kB / 1.279 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.066, allocations: 3.688 kB / 1.279 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/1.066, allocations: 14.08 kB / 1.279 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/1.066, allocations: 5.969 kB / 1.279 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.136e-05/1.066, allocations: 77.53 kB / 1.279 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.066, allocations: 0.75 kB / 1.279 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002416/1.066, allocations: 10.44 kB / 1.279 GB, free: 1.062 MB / 0.9981 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.0003199/1.066, allocations: 0.7134 MB / 1.28 GB, free: 384 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001335/1.067, allocations: 49.28 kB / 1.28 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.067, allocations: 0.8125 kB / 1.28 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/1.067, allocations: 11.33 kB / 1.28 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/1.067, allocations: 15.2 kB / 1.28 GB, free: 356 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/1.068, allocations: 1.539 MB / 1.282 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.069, allocations: 0.6824 MB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.642e-05/1.069, allocations: 5.781 kB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/1.069, allocations: 14.81 kB / 1.282 GB, free: 14.19 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.069, allocations: 4 kB / 1.282 GB, free: 14.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/1.095, allocations: 1.658 MB / 1.284 GB, free: 13.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/9.093, allocations: 11.05 kB / 1.284 GB, free: 13.79 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[2]=0.002000 Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.214956570009235]