Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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_11_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_11_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.001302/0.001302, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00129/0.00129, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 66.25 kB / 0.908 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3298, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002346/0.3322, allocations: 1.321 MB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003604/0.3358, allocations: 2.901 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.656e-05/0.3358, allocations: 7.938 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.3359, allocations: 3.984 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.3359, allocations: 3.938 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.3364, allocations: 95.55 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.3364, allocations: 39.91 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.3365, allocations: 3.938 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.3369, allocations: 147.6 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.337, allocations: 23.92 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.337, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.3371, allocations: 67.88 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3371, allocations: 3.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.3372, allocations: 19.92 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3373, allocations: 72.02 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3374, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3374, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3374, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 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.000445/0.3378, allocations: 351.5 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3379, allocations: 12.03 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3379, allocations: 0.9375 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3381, allocations: 168.3 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3381, allocations: 384 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3381, allocations: 8.375 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3382, allocations: 53.8 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3383, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3383, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3383, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.3384, allocations: 27.91 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.3386, allocations: 165.6 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3387, allocations: 54.62 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.3387, allocations: 12.84 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008306/0.3395, allocations: 0.5869 MB / 1.069 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.3396, allocations: 42.5 kB / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 3.006e-06/0.3396, allocations: 0 / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006469/0.3403, allocations: 302.2 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3403, allocations: 51.41 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3404, allocations: 102 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3405, allocations: 29.7 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.3405, allocations: 92.12 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3406, allocations: 31.55 kB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.3406, allocations: 17.72 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3408, allocations: 326.8 kB / 1.07 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.3408, allocations: 15.94 kB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.3409, allocations: 53.14 kB / 1.07 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.341, allocations: 77.19 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.341, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.3412, allocations: 105.5 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3412, allocations: 4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3412, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3412, allocations: 4.438 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.3413, allocations: 19.98 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.3413, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.3414, allocations: 11.88 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3414, allocations: 8 kB / 1.071 GB, free: 6.809 MB / 0.8262 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 0.0001068/0.3415, allocations: 113.8 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.3415, allocations: 4.062 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3416, allocations: 11.97 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3416, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3416, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3416, allocations: 3.938 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.3419, allocations: 169.7 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3419, allocations: 0 / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.342, allocations: 15.98 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.342, allocations: 7.938 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.342, allocations: 4 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.342, allocations: 0 / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.342, allocations: 7.938 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3422, allocations: 183.4 kB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.3423, allocations: 77.11 kB / 1.071 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3423, allocations: 4.031 kB / 1.071 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3424, allocations: 4 kB / 1.071 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.3424, allocations: 4 kB / 1.071 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3424, allocations: 7.938 kB / 1.071 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.3425, allocations: 87.27 kB / 1.071 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3425, allocations: 0 / 1.071 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000229/0.3427, allocations: 12 kB / 1.071 GB, free: 6.012 MB / 0.8262 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.0001307/0.3429, allocations: 99.58 kB / 1.071 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.343, allocations: 47.86 kB / 1.071 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.343, allocations: 0 / 1.071 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.343, allocations: 20.23 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3433, allocations: 8.188 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.3439, allocations: 341.8 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3442, allocations: 0.6807 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.592e-05/0.3443, allocations: 8 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3443, allocations: 11.44 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of SimCode: time 1.994e-06/0.3443, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of Templates: time 0.002981/0.3473, allocations: 0.6325 MB / 1.073 GB, free: 4.113 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches