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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.00247/0.00247, allocations: 199.3 kB / 17.3 MB, free: 5.516 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.576/2.576, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 64.55 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3217, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002322/0.3241, allocations: 1.268 MB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.3278, allocations: 2.94 MB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.3279, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.3279, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.328, allocations: 7.922 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.3287, allocations: 95.55 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3288, allocations: 47.78 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3288, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005511/0.3294, allocations: 155.5 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.3295, allocations: 19.92 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3295, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3297, allocations: 63.88 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.3297, allocations: 7.984 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.3297, allocations: 15.94 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.33, allocations: 67.8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.33, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.295e-06/0.33, allocations: 7.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.33, allocations: 3.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 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.000573/0.3306, allocations: 343.5 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.3307, allocations: 8.031 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.3307, allocations: 8.844 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.3309, allocations: 164.3 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3309, allocations: 4.375 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3309, allocations: 8.359 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3311, allocations: 61.8 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3311, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3311, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3311, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.377e-05/0.3312, allocations: 23.97 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.3314, allocations: 165.6 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.444e-05/0.3315, allocations: 46.55 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.3315, allocations: 16.86 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007948/0.3323, allocations: 0.5946 MB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3324, allocations: 38.48 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3324, allocations: 0 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005824/0.333, allocations: 306.5 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.333, allocations: 59.41 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.3331, allocations: 97.86 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3331, allocations: 25.7 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.3332, allocations: 92.03 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3332, allocations: 27.56 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3332, allocations: 25.7 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3333, allocations: 318.8 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.3334, allocations: 15.98 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.3334, allocations: 49.59 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.584e-05/0.3335, allocations: 85.19 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3335, allocations: 0 / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001309/0.3337, allocations: 93.55 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3337, allocations: 8 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3337, allocations: 4 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3337, allocations: 0 / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.3338, allocations: 23.98 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3338, allocations: 0 / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.3339, allocations: 7.938 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.3339, allocations: 12.12 kB / 1.034 GB, free: 10.21 MB / 0.8106 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.827e-05/0.334, allocations: 113.8 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.334, allocations: 7.906 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.334, allocations: 11.91 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.334, allocations: 4 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3341, allocations: 0 / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3341, allocations: 7.922 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3343, allocations: 169.7 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3343, allocations: 3.938 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.3344, allocations: 16 kB / 1.034 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3344, allocations: 0 / 1.034 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.3344, allocations: 0 / 1.034 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3344, allocations: 4 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3344, allocations: 0 / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3346, allocations: 179.4 kB / 1.034 GB, free: 9.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.3347, allocations: 89.05 kB / 1.034 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3347, allocations: 0 / 1.034 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3348, allocations: 8 kB / 1.034 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.3348, allocations: 0 / 1.034 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3348, allocations: 11.94 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.3349, allocations: 79.27 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3349, allocations: 0 / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002368/0.3351, allocations: 12 kB / 1.035 GB, free: 9.418 MB / 0.8106 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.0001231/0.3352, allocations: 103.8 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.3354, allocations: 44.02 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3354, allocations: 0 / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.3354, allocations: 19.92 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.3357, allocations: 13.31 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.3363, allocations: 322.3 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3366, allocations: 0.6807 MB / 1.036 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.3366, allocations: 8 kB / 1.036 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3366, allocations: 15.42 kB / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3366, allocations: 0 / 1.036 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.002856/0.3395, allocations: 0.6137 MB / 1.036 GB, free: 7.547 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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) Reference file matches