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.00122/0.00122, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001818/0.001818, allocations: 168.7 kB / 15.95 MB, free: 204 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.49/1.49, allocations: 223.2 MB / 240 MB, free: 5.328 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.476/2.476, allocations: 390.9 MB / 0.666 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8 kB / 0.8153 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7413, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001501/0.7429, allocations: 0.9846 MB / 0.9554 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.7464, allocations: 2.748 MB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.7465, allocations: 0 / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.7465, allocations: 0 / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.7466, allocations: 5.312 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.7471, allocations: 74.53 kB / 0.9581 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.7472, allocations: 42.41 kB / 0.9582 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.7472, allocations: 2.25 kB / 0.9582 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.7477, allocations: 150.1 kB / 0.9583 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.7478, allocations: 10.2 kB / 0.9583 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.7478, allocations: 2.125 kB / 0.9583 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.748, allocations: 45.81 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.748, allocations: 6.359 kB / 0.9584 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.748, allocations: 33.2 kB / 0.9584 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.7482, allocations: 30.88 kB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.7482, allocations: 0 / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.167e-06/0.7482, allocations: 3.984 kB / 0.9585 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.7482, allocations: 4 kB / 0.9585 GB, free: 4.5 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.0004274/0.7487, allocations: 334.5 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.7487, allocations: 9.281 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.7488, allocations: 3.375 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/0.7489, allocations: 160.9 kB / 0.9589 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.7489, allocations: 5.812 kB / 0.959 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.7489, allocations: 7.844 kB / 0.959 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.7491, allocations: 49.2 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7491, allocations: 4 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.7491, allocations: 7.953 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7491, allocations: 1.875 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.7492, allocations: 17.84 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.7493, allocations: 168.8 kB / 0.9592 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.7495, allocations: 52.62 kB / 0.9592 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.7495, allocations: 18.94 kB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.7502, allocations: 0.6033 MB / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.7503, allocations: 36.25 kB / 0.9599 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.7503, allocations: 0 / 0.9599 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005823/0.7509, allocations: 299.4 kB / 0.9602 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.7509, allocations: 55.41 kB / 0.9602 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.751, allocations: 105.9 kB / 0.9603 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.751, allocations: 27.08 kB / 0.9604 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.751, allocations: 81.52 kB / 0.9604 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.7511, allocations: 38.17 kB / 0.9605 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.7511, allocations: 5.375 kB / 0.9605 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.7512, allocations: 312.2 kB / 0.9608 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.7512, allocations: 14.86 kB / 0.9608 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/0.7512, allocations: 53.52 kB / 0.9608 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.7513, allocations: 19 kB / 0.9609 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7513, allocations: 3.953 kB / 0.9609 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001245/0.7514, allocations: 93.3 kB / 0.9609 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7515, allocations: 5.5 kB / 0.961 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7515, allocations: 2.75 kB / 0.961 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7515, allocations: 1.375 kB / 0.961 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.7516, allocations: 28.42 kB / 0.961 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.7516, allocations: 2.75 kB / 0.961 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.7516, allocations: 1.375 kB / 0.961 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.7516, allocations: 4.562 kB / 0.961 GB, free: 1.812 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.091e-05/0.7517, allocations: 120.7 kB / 0.9611 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.7517, allocations: 10.61 kB / 0.9611 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.7518, allocations: 9.344 kB / 0.9611 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.7518, allocations: 1.375 kB / 0.9611 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7518, allocations: 3.938 kB / 0.9611 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7518, allocations: 7.938 kB / 0.9611 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.752, allocations: 174.2 kB / 0.9613 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.752, allocations: 0 / 0.9613 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.112e-05/0.7521, allocations: 21.69 kB / 0.9613 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7521, allocations: 0 / 0.9613 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.7521, allocations: 1.375 kB / 0.9613 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7521, allocations: 4 kB / 0.9613 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.7521, allocations: 1.375 kB / 0.9613 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.7523, allocations: 172.3 kB / 0.9615 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.7523, allocations: 78.48 kB / 0.9616 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.7524, allocations: 9.359 kB / 0.9616 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.7525, allocations: 10.69 kB / 0.9616 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.7525, allocations: 1.375 kB / 0.9616 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.7525, allocations: 6.75 kB / 0.9616 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.7525, allocations: 82.39 kB / 0.9617 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7525, allocations: 0 / 0.9617 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002435/0.7528, allocations: 13.62 kB / 0.9617 GB, free: 1.09 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.0001063/0.7529, allocations: 106.4 kB / 0.9618 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.753, allocations: 42.05 kB / 0.9618 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.753, allocations: 256 / 0.9618 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.753, allocations: 26.88 kB / 0.9619 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.7533, allocations: 9.141 kB / 0.9619 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.7538, allocations: 387.1 kB / 0.9622 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.754, allocations: 0.6825 MB / 0.9629 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.826e-05/0.7541, allocations: 15.89 kB / 0.9629 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.7541, allocations: 14.12 kB / 0.9629 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7541, allocations: 0 / 0.9629 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.003016/0.7571, allocations: 0.5781 MB / 0.9635 GB, free: 15.6 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches