Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_10_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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001281/0.001281, allocations: 191.8 kB / 16.14 MB, free: 6.691 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5297, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002132/0.5319, allocations: 1.332 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.5353, allocations: 2.93 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.5353, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.5354, allocations: 3.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.5354, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.5358, allocations: 87.67 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.5358, allocations: 31.86 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.635e-05/0.5359, allocations: 8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.5362, allocations: 147.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.5363, allocations: 15.92 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5363, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.5365, allocations: 67.81 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.5365, allocations: 7.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.5365, allocations: 19.91 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.5367, allocations: 58.12 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5367, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5367, allocations: 8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.5367, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 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.0004066/0.5371, allocations: 351.4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.5372, allocations: 8.031 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.5372, allocations: 34.75 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.5372, allocations: 0.9375 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.5373, allocations: 160.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.5373, allocations: 4.375 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5374, allocations: 12.38 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.5375, allocations: 57.59 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5375, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5375, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5375, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.5376, allocations: 23.91 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.5377, allocations: 161.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.5378, allocations: 50.55 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.5379, allocations: 20.86 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.5385, allocations: 0.5909 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.5385, allocations: 38.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5385, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005424/0.5391, allocations: 306.3 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5391, allocations: 51.41 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.5392, allocations: 105.8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.5392, allocations: 29.64 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.5392, allocations: 91.98 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.5393, allocations: 23.61 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.5393, allocations: 29.7 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5395, allocations: 314.8 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.5395, allocations: 16 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.5395, allocations: 53.14 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.5396, allocations: 77.02 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5396, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000187/0.5398, allocations: 89.55 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.5398, allocations: 8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5399, allocations: 0.5156 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.5399, allocations: 4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.5399, allocations: 23.98 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.54, allocations: 8.047 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.54, allocations: 15.94 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.54, allocations: 4 kB / 1.024 GB, free: 10.92 MB / 0.7794 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 6.749e-05/0.5401, allocations: 122.2 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.5401, allocations: 3.906 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.5402, allocations: 7.969 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.5402, allocations: 4 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.5402, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5402, allocations: 3.938 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.5404, allocations: 181.6 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5404, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.5405, allocations: 15.98 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5405, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.5405, allocations: 4 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5405, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5405, allocations: 3.938 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.5407, allocations: 171.4 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.5407, allocations: 85.02 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.5408, allocations: 8.031 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5409, allocations: 8 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.5409, allocations: 3.938 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.5409, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.5409, allocations: 83.64 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5409, allocations: 0 / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002258/0.5412, allocations: 12 kB / 1.025 GB, free: 10.12 MB / 0.7794 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.0003845/0.5416, allocations: 0.7167 MB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.252e-05/0.5417, allocations: 39.92 kB / 1.025 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5417, allocations: 0 / 1.025 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.5417, allocations: 19.94 kB / 1.025 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.5419, allocations: 22 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5434, allocations: 1.518 MB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.5437, allocations: 0.6887 MB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.501e-05/0.5437, allocations: 7.984 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.5438, allocations: 23.38 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.5438, allocations: 0 / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/0.6617, allocations: 1.49 MB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/0.662, allocations: 210.7 kB / 1.029 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.488, allocations: 3.625 kB / 1.029 GB, free: 5.289 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_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