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: 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_10_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_10_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.001867/0.001867, allocations: 105.3 kB / 16.27 MB, free: 5.949 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.00124/0.00124, allocations: 190.1 kB / 17.2 MB, free: 5.586 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.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.565/2.565, allocations: 437.1 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001965, allocations: 69.67 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3293, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002497/0.3319, allocations: 1.252 MB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.3359, allocations: 2.939 MB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.336, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.3361, allocations: 3.938 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.3362, allocations: 15.91 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.3369, allocations: 87.62 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.337, allocations: 43.84 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.3371, allocations: 3.984 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.3377, allocations: 151.5 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.3377, allocations: 19.92 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3377, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.3379, allocations: 79.8 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.338, allocations: 4 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.338, allocations: 19.92 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3382, allocations: 64.08 kB / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3382, allocations: 0 / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3383, allocations: 0 / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3383, allocations: 0 / 1.023 GB, free: 5.922 MB / 0.795 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.0005556/0.3388, allocations: 343.6 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3389, allocations: 8.922 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.3389, allocations: 12.84 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3391, allocations: 164.3 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3391, allocations: 4.375 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.3392, allocations: 8.375 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3394, allocations: 61.72 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3394, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3394, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3394, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/0.3395, allocations: 19.98 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.3397, allocations: 177.6 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3398, allocations: 46.56 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.3399, allocations: 20.78 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/0.3408, allocations: 0.5945 MB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3409, allocations: 34.56 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3409, allocations: 0 / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0007222/0.3416, allocations: 298.5 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3417, allocations: 59.34 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3418, allocations: 101.8 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3418, allocations: 25.7 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.3419, allocations: 88.05 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.3419, allocations: 35.55 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.342, allocations: 21.72 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3421, allocations: 322.8 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.3422, allocations: 12 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.3422, allocations: 53.08 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.3424, allocations: 77.08 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3424, allocations: 0 / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000149/0.3425, allocations: 97.77 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3426, allocations: 8 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3426, allocations: 4.125 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3426, allocations: 0 / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.3427, allocations: 20 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3427, allocations: 3.938 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.3427, allocations: 7.938 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3428, allocations: 8 kB / 1.025 GB, free: 2.816 MB / 0.795 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.0001197/0.3429, allocations: 113.8 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.3429, allocations: 7.906 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.343, allocations: 7.969 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.343, allocations: 8 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.343, allocations: 0 / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.343, allocations: 3.938 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3433, allocations: 169.7 kB / 1.025 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3433, allocations: 0 / 1.025 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.3434, allocations: 20.36 kB / 1.025 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3434, allocations: 0 / 1.025 GB, free: 2.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3434, allocations: 3.938 kB / 1.025 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3434, allocations: 8 kB / 1.025 GB, free: 2.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3434, allocations: 0 / 1.025 GB, free: 2.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3436, allocations: 179.5 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.3437, allocations: 85.02 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3438, allocations: 3.938 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3439, allocations: 4 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.3439, allocations: 3.984 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3439, allocations: 11.94 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.344, allocations: 75.28 kB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.344, allocations: 4 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002463/0.3442, allocations: 16 kB / 1.026 GB, free: 2.012 MB / 0.795 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.0001769/0.3444, allocations: 107.2 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3446, allocations: 39.92 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3446, allocations: 4 kB / 1.026 GB, free: 1.855 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.3446, allocations: 8 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3449, allocations: 10.75 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.3455, allocations: 352.2 kB / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3459, allocations: 0.6884 MB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.3459, allocations: 11.44 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3459, allocations: 4 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of Templates: time 0.002478/0.3484, allocations: 0.7774 MB / 1.028 GB, free: 15.95 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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) Reference file matches