Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.00541/0.00541, allocations: 101.2 kB / 15.73 MB, free: 6.016 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.001254/0.001255, allocations: 203.2 kB / 16.68 MB, free: 5.953 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.356/1.356, 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 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3212, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002609/0.3239, allocations: 1.274 MB / 1.208 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004088/0.328, allocations: 2.93 MB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.3281, allocations: 0 / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.3281, allocations: 7.984 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.3282, allocations: 3.938 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.3288, allocations: 95.55 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.3289, allocations: 35.91 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.329, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.3296, allocations: 159.5 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.3296, allocations: 27.84 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3296, allocations: 4 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.3298, allocations: 67.81 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.3299, allocations: 8 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.3299, allocations: 23.91 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3301, allocations: 56.09 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3301, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3301, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3301, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 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.0004437/0.3306, allocations: 355.4 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3306, allocations: 8.625 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.3307, allocations: 38.75 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3307, allocations: 4.922 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3308, allocations: 168.3 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3309, allocations: 384 / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.3309, allocations: 16.27 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3311, allocations: 53.61 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3311, allocations: 3.984 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3311, allocations: 0 / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3311, allocations: 8 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.3312, allocations: 15.98 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.3313, allocations: 161.7 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3315, allocations: 58.48 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.3315, allocations: 8.859 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/0.3322, allocations: 0.5949 MB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3323, allocations: 38.55 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3323, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006132/0.3329, allocations: 302.1 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.333, allocations: 51.41 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.333, allocations: 97.8 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3331, allocations: 41.58 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.3331, allocations: 92.03 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.3332, allocations: 23.66 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3332, allocations: 29.7 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3333, allocations: 310.8 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.3334, allocations: 16.42 kB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.3334, allocations: 49.16 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.3335, allocations: 73.08 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3335, allocations: 4 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001437/0.3337, allocations: 101.7 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3337, allocations: 4 kB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3337, allocations: 3.938 kB / 1.214 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3337, allocations: 4.047 kB / 1.214 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.3338, allocations: 27.91 kB / 1.214 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3338, allocations: 4 kB / 1.214 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.3339, allocations: 7.938 kB / 1.214 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3339, allocations: 4 kB / 1.214 GB, free: 2.254 MB / 0.9669 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 9.48e-05/0.334, allocations: 118 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.334, allocations: 4 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.3341, allocations: 11.91 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3341, allocations: 0 / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3341, allocations: 0 / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3341, allocations: 7.922 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3344, allocations: 169.7 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3344, allocations: 3.984 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.3345, allocations: 16 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3345, allocations: 0 / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3345, allocations: 4 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3345, allocations: 4 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3345, allocations: 3.938 kB / 1.215 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3348, allocations: 175.4 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.3348, allocations: 85.08 kB / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3349, allocations: 0 / 1.215 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.335, allocations: 4 kB / 1.215 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.335, allocations: 11.94 kB / 1.215 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.335, allocations: 4 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.3351, allocations: 83.27 kB / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3351, allocations: 0 / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002456/0.3353, allocations: 12 kB / 1.215 GB, free: 1.461 MB / 0.9669 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.0005257/0.3359, allocations: 0.7085 MB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.336, allocations: 43.91 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.336, allocations: 0 / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.3361, allocations: 16.23 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3364, allocations: 13.3 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.3382, allocations: 1.544 MB / 1.217 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3385, allocations: 0.6846 MB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.657e-05/0.3386, allocations: 8 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.3386, allocations: 19.42 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3387, allocations: 0 / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.3603, allocations: 1.676 MB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.86, allocations: 20.81 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_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