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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00472/0.00472, allocations: 102 kB / 15.73 MB, free: 6.441 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.001656/0.001657, allocations: 197.7 kB / 16.67 MB, free: 6.352 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 63.84 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2551, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001941/0.2571, allocations: 1.27 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2603, allocations: 2.932 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.2604, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.2604, allocations: 3.984 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.2605, allocations: 7.938 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.2609, allocations: 99.53 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.261, allocations: 39.84 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.261, allocations: 7.938 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.2614, allocations: 159.5 kB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.2615, allocations: 23.91 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.2615, allocations: 0 / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.2616, allocations: 59.89 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2617, allocations: 8 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.2617, allocations: 23.91 kB / 1.225 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.2619, allocations: 59.81 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2619, allocations: 0 / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2619, allocations: 3.938 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2619, allocations: 0 / 1.225 GB, free: 9.578 MB / 0.9825 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.0003756/0.2623, allocations: 347.4 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2623, allocations: 12.03 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.2623, allocations: 38.75 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.2624, allocations: 4.938 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2625, allocations: 168.3 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2625, allocations: 384 / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.2625, allocations: 8.375 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2627, allocations: 57.59 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2627, allocations: 0 / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2627, allocations: 4 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2627, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.2628, allocations: 19.92 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.2629, allocations: 165.7 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.263, allocations: 54.55 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.2631, allocations: 16.86 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/0.2637, allocations: 0.5948 MB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2638, allocations: 46.5 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 2.584e-06/0.2638, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.2643, allocations: 294.3 kB / 1.226 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2643, allocations: 51.41 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.2644, allocations: 101.8 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2644, allocations: 33.7 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.2645, allocations: 88.09 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.2645, allocations: 27.75 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.2645, allocations: 29.7 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2647, allocations: 310.8 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.2647, allocations: 15.98 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.2648, allocations: 49.58 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.2648, allocations: 77.03 kB / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2649, allocations: 0 / 1.227 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001303/0.265, allocations: 105.7 kB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.265, allocations: 8.125 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.265, allocations: 7.984 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.265, allocations: 0 / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.2651, allocations: 19.98 kB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2651, allocations: 4 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.2652, allocations: 7.938 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2652, allocations: 4.078 kB / 1.227 GB, free: 6.43 MB / 0.9825 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.863e-05/0.2653, allocations: 117.8 kB / 1.227 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.2653, allocations: 4 kB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.2653, allocations: 11.97 kB / 1.227 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2653, allocations: 3.984 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2653, allocations: 0 / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2653, allocations: 3.938 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.2656, allocations: 173.7 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2656, allocations: 0 / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.2657, allocations: 16 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2657, allocations: 3.938 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2657, allocations: 4 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2657, allocations: 3.984 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2657, allocations: 4 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2659, allocations: 179.4 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.2659, allocations: 81.14 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.266, allocations: 4 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.2661, allocations: 0 / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.2661, allocations: 11.94 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2661, allocations: 3.984 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.2661, allocations: 83.28 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2661, allocations: 0 / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.2664, allocations: 16 kB / 1.228 GB, free: 5.629 MB / 0.9825 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.000435/0.2668, allocations: 0.7128 MB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.2669, allocations: 39.97 kB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2669, allocations: 4 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.2669, allocations: 19.92 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2672, allocations: 9.656 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2685, allocations: 1.528 MB / 1.23 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2688, allocations: 0.6846 MB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.514e-05/0.2689, allocations: 7.984 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.2689, allocations: 15.55 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2689, allocations: 0 / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.413/1.682, allocations: 1.678 MB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.8, allocations: 5.781 kB / 1.233 GB, free: 0.8711 MB / 0.9825 GB (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) 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/OpenModelicaLibraryTesting/files/Buildings_11_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_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! " 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