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.006645/0.006645, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001354/0.001354, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.41 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3315, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002864/0.3345, allocations: 1.265 MB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.3387, allocations: 2.92 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.3388, allocations: 0 / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.3388, allocations: 3.938 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.3389, allocations: 11.97 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.3395, allocations: 103.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.3396, allocations: 43.78 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.3397, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.3402, allocations: 159.5 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.3403, allocations: 15.92 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3403, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3405, allocations: 67.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.3405, allocations: 8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.3406, allocations: 23.91 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3408, allocations: 58.69 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3408, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3408, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.3408, allocations: 4 kB / 1.092 GB, free: 13.32 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.0004559/0.3413, allocations: 350.1 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3413, allocations: 8.031 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3413, allocations: 34.75 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3414, allocations: 4.938 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3415, allocations: 164.4 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3415, allocations: 4.375 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.3416, allocations: 8.375 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3417, allocations: 61.53 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.3417, allocations: 0 / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3417, allocations: 4 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3417, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.3418, allocations: 19.97 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.342, allocations: 165.7 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3421, allocations: 50.55 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.3421, allocations: 16.86 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007865/0.3429, allocations: 0.5948 MB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.343, allocations: 38.5 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.343, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006002/0.3436, allocations: 310.3 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.3436, allocations: 51.41 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.3437, allocations: 97.8 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3437, allocations: 29.7 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.3438, allocations: 84.05 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3438, allocations: 35.48 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3439, allocations: 33.7 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.344, allocations: 314.8 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.344, allocations: 12 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.3441, allocations: 53.52 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.3442, allocations: 81.25 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3442, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001373/0.3443, allocations: 89.55 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3444, allocations: 8 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3444, allocations: 4.125 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3444, allocations: 8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.3445, allocations: 23.92 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3445, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.3446, allocations: 11.94 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3446, allocations: 4 kB / 1.095 GB, free: 10.16 MB / 0.8575 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 8.16e-05/0.3447, allocations: 113.8 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3447, allocations: 3.906 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.3447, allocations: 7.969 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3447, allocations: 8 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3447, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3448, allocations: 3.938 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.345, allocations: 173.6 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.345, allocations: 3.938 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.3451, allocations: 23.92 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3451, allocations: 0 / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3451, allocations: 4 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3451, allocations: 0 / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3451, allocations: 0 / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3453, allocations: 171.5 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3454, allocations: 85.02 kB / 1.095 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3454, allocations: 4.031 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3455, allocations: 4 kB / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3456, allocations: 7.938 kB / 1.095 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.3456, allocations: 4 kB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.3456, allocations: 79.27 kB / 1.095 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3456, allocations: 4 kB / 1.095 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002413/0.3459, allocations: 16 kB / 1.095 GB, free: 9.367 MB / 0.8575 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.0004585/0.3463, allocations: 0.7123 MB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.3465, allocations: 39.92 kB / 1.096 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3465, allocations: 4.25 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.3465, allocations: 19.94 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3468, allocations: 14.09 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.3484, allocations: 1.535 MB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3487, allocations: 0.6846 MB / 1.098 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.3488, allocations: 4 kB / 1.098 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3489, allocations: 19.42 kB / 1.098 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.3489, allocations: 0 / 1.098 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.3682, allocations: 1.667 MB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.288, allocations: 9.562 kB / 1.1 GB, free: 4.594 MB / 0.8575 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[2]=0.002000 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