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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007206/0.007205, allocations: 105.8 kB / 15.74 MB, free: 6.039 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.001369/0.001369, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001412, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.0029/0.3351, allocations: 1.272 MB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004702/0.3399, allocations: 2.938 MB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3399, allocations: 0 / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.34, allocations: 3.938 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.3401, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.3408, allocations: 99.53 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3409, allocations: 43.84 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.341, allocations: 4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.3416, allocations: 159.5 kB / 1.171 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.3417, allocations: 15.98 kB / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3417, allocations: 0 / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3419, allocations: 67.83 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.3419, allocations: 15.91 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.342, allocations: 12 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3422, allocations: 70.59 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3422, allocations: 0 / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3422, allocations: 4 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3422, allocations: 0 / 1.171 GB, free: 2.609 MB / 0.92 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.0004731/0.3427, allocations: 348.3 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3428, allocations: 8.031 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.3428, allocations: 38.73 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3429, allocations: 4.938 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.343, allocations: 164.3 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.343, allocations: 4.375 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.343, allocations: 8.375 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3432, allocations: 61.55 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3432, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3432, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3432, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.3433, allocations: 15.98 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.3435, allocations: 165.6 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3436, allocations: 50.64 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.3437, allocations: 21 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/0.3444, allocations: 0.5946 MB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3445, allocations: 34.56 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.3445, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006957/0.3452, allocations: 310.6 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3452, allocations: 51.41 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.3453, allocations: 105.8 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3454, allocations: 29.7 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.3454, allocations: 84.2 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3455, allocations: 31.55 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.3455, allocations: 25.72 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3456, allocations: 318.8 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.3457, allocations: 12 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.3458, allocations: 61.02 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3459, allocations: 77.25 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3459, allocations: 0 / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001509/0.346, allocations: 101.5 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.346, allocations: 4 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3461, allocations: 4 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3461, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.3462, allocations: 19.94 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3462, allocations: 7.938 kB / 1.173 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.3462, allocations: 8.062 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3462, allocations: 4 kB / 1.173 GB, free: 15.46 MB / 0.9356 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.375e-05/0.3463, allocations: 117.8 kB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3464, allocations: 4 kB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.3464, allocations: 7.969 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3464, allocations: 0 / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3464, allocations: 0 / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3464, allocations: 3.938 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.3467, allocations: 173.7 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3467, allocations: 4 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.8e-05/0.3468, allocations: 19.98 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3468, allocations: 3.938 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3468, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3468, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3468, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.3471, allocations: 179.4 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.3471, allocations: 77.11 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3471, allocations: 12 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.3472, allocations: 0 / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.3473, allocations: 11.92 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3473, allocations: 0 / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.3473, allocations: 83.28 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3473, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002419/0.3476, allocations: 12 kB / 1.174 GB, free: 14.66 MB / 0.9356 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.0004723/0.3481, allocations: 0.7089 MB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3482, allocations: 43.95 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3482, allocations: 4 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.3482, allocations: 15.88 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3486, allocations: 17.97 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3501, allocations: 1.524 MB / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3504, allocations: 0.6885 MB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.069e-05/0.3504, allocations: 7.938 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.3505, allocations: 15.38 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3505, allocations: 4 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.3708, allocations: 1.668 MB / 1.179 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.019, allocations: 12.78 kB / 1.179 GB, free: 9.906 MB / 0.9356 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[2]=0.002000 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