Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001007/0.001011, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009655/0.0009662, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9155/0.9158, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001251/0.9172, allocations: 0.9645 MB / 0.9544 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.9201, allocations: 2.566 MB / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.9202, allocations: 0 / 0.9569 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.9202, allocations: 5.047 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.9202, allocations: 3.984 kB / 0.957 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.9206, allocations: 82.67 kB / 0.957 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.9207, allocations: 25.92 kB / 0.9571 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.9208, allocations: 1.469 kB / 0.9571 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.9212, allocations: 148.8 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.9212, allocations: 15.14 kB / 0.9572 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.9213, allocations: 1.438 kB / 0.9572 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.9214, allocations: 55.44 kB / 0.9573 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.9214, allocations: 5.438 kB / 0.9573 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.9214, allocations: 30.11 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.9216, allocations: 28.83 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.9216, allocations: 0 / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9216, allocations: 0 / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.9216, allocations: 0 / 0.9573 GB, free: 5.07 MB / 0.7169 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.0002982/0.9219, allocations: 345.4 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9219, allocations: 7 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.922, allocations: 2.812 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.321e-05/0.922, allocations: 169 kB / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.9221, allocations: 5.406 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.9221, allocations: 3.562 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.9222, allocations: 56.44 kB / 0.9579 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.9222, allocations: 6.094 kB / 0.9579 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9222, allocations: 7.953 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9223, allocations: 0 / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.9223, allocations: 15.23 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.9224, allocations: 169.4 kB / 0.9581 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.579e-05/0.9225, allocations: 50.88 kB / 0.9581 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/0.9231, allocations: 0.5983 MB / 0.9587 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.9231, allocations: 31.94 kB / 0.9587 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.9231, allocations: 0 / 0.9587 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005194/0.9237, allocations: 293.5 kB / 0.959 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.9237, allocations: 56.81 kB / 0.9591 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.9238, allocations: 105.7 kB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.9238, allocations: 31.17 kB / 0.9592 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.9238, allocations: 89.58 kB / 0.9593 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.9238, allocations: 26.42 kB / 0.9593 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.9239, allocations: 4 kB / 0.9593 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.9239, allocations: 312.3 kB / 0.9596 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.9239, allocations: 16.89 kB / 0.9596 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.924, allocations: 56.02 kB / 0.9597 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.924, allocations: 14.84 kB / 0.9597 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.924, allocations: 0 / 0.9597 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.9241, allocations: 98.03 kB / 0.9598 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.9242, allocations: 5.344 kB / 0.9598 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9242, allocations: 5.438 kB / 0.9598 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9242, allocations: 2.469 kB / 0.9598 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.9243, allocations: 21.28 kB / 0.9598 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.9243, allocations: 5.797 kB / 0.9598 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.9243, allocations: 2.75 kB / 0.9598 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.9244, allocations: 2.75 kB / 0.9598 GB, free: 2.395 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.9244, allocations: 117.9 kB / 0.96 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.9245, allocations: 10.61 kB / 0.96 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.9245, allocations: 11.97 kB / 0.96 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9245, allocations: 5.375 kB / 0.96 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9245, allocations: 0 / 0.96 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9245, allocations: 1.375 kB / 0.96 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.9247, allocations: 180.7 kB / 0.9602 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9248, allocations: 0 / 0.9602 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.9248, allocations: 17.73 kB / 0.9602 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9249, allocations: 5.328 kB / 0.9602 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.9249, allocations: 0 / 0.9602 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.9249, allocations: 1.375 kB / 0.9602 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.9249, allocations: 3.938 kB / 0.9602 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.925, allocations: 172.3 kB / 0.9603 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.9251, allocations: 87.77 kB / 0.9604 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.9251, allocations: 3.953 kB / 0.9604 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9252, allocations: 6.781 kB / 0.9604 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.9252, allocations: 2.75 kB / 0.9604 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.9252, allocations: 1.375 kB / 0.9604 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.9253, allocations: 82.03 kB / 0.9605 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9253, allocations: 0 / 0.9605 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002352/0.9255, allocations: 15 kB / 0.9605 GB, free: 1.676 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.9257, allocations: 105.6 kB / 0.9606 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.9258, allocations: 38.86 kB / 0.9607 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9258, allocations: 0 / 0.9607 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.9258, allocations: 18.94 kB / 0.9607 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.926, allocations: 6.656 kB / 0.9607 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.9266, allocations: 400.1 kB / 0.9611 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.9268, allocations: 0.6873 MB / 0.9618 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.848e-05/0.9268, allocations: 11.44 kB / 0.9618 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.9269, allocations: 10.59 kB / 0.9618 GB, free: 500 kB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9269, allocations: 3.938 kB / 0.9618 GB, free: 496 kB / 0.7169 GB Notification: Performance of Templates: time 0.002882/0.9298, allocations: 0.5743 MB / 0.9623 GB, free: 192 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches