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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009601/0.00096, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009462/0.009462, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 11.98 kB / 0.8159 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7688, allocations: 142.4 MB / 0.955 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00113/0.77, allocations: 0.9907 MB / 0.956 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.774, allocations: 2.893 MB / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.7741, allocations: 0 / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.7741, allocations: 0 / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.7742, allocations: 5.688 kB / 0.9588 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.7748, allocations: 93.2 kB / 0.9589 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.373e-05/0.7749, allocations: 38.86 kB / 0.9589 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.7749, allocations: 1.812 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005323/0.7754, allocations: 150.4 kB / 0.9591 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.7755, allocations: 18.84 kB / 0.9591 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.7755, allocations: 1.375 kB / 0.9591 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.7757, allocations: 56.77 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.7758, allocations: 10.67 kB / 0.9592 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.7758, allocations: 40.56 kB / 0.9592 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.776, allocations: 69.27 kB / 0.9593 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7761, allocations: 5.375 kB / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7761, allocations: 0 / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7761, allocations: 0 / 0.9593 GB, free: 4.316 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.000401/0.7765, allocations: 334.5 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7765, allocations: 9.625 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.7766, allocations: 11.53 kB / 0.9596 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.7767, allocations: 165.8 kB / 0.9598 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7767, allocations: 1.75 kB / 0.9598 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.7768, allocations: 12.5 kB / 0.9598 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.777, allocations: 61.97 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.777, allocations: 0 / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.777, allocations: 0 / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.777, allocations: 2.094 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.7771, allocations: 25.72 kB / 0.9599 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.7773, allocations: 161.3 kB / 0.96 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.7774, allocations: 48.59 kB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.7775, allocations: 19.09 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/0.7783, allocations: 0.5997 MB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.7783, allocations: 35.88 kB / 0.9607 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 2.394e-06/0.7783, allocations: 3.984 kB / 0.9607 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000724/0.7791, allocations: 299.8 kB / 0.961 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7791, allocations: 52.75 kB / 0.9611 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.7792, allocations: 98.3 kB / 0.9612 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.7792, allocations: 25.7 kB / 0.9612 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.7792, allocations: 93.11 kB / 0.9613 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.7793, allocations: 27.89 kB / 0.9613 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.7793, allocations: 16.88 kB / 0.9613 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.7794, allocations: 323.8 kB / 0.9616 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.7794, allocations: 11.56 kB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.832e-05/0.7795, allocations: 57.08 kB / 0.9617 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.7797, allocations: 82.23 kB / 0.9618 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7797, allocations: 1.312 kB / 0.9618 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002006/0.7799, allocations: 90.48 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.7799, allocations: 5.844 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.78, allocations: 1.094 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.78, allocations: 2.625 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.7801, allocations: 16.22 kB / 0.9619 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.7801, allocations: 10.42 kB / 0.9619 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.7802, allocations: 9.656 kB / 0.9619 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.7802, allocations: 3.969 kB / 0.9619 GB, free: 1.539 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.991e-05/0.7803, allocations: 120.7 kB / 0.962 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.7804, allocations: 2.219 kB / 0.962 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.7804, allocations: 9.094 kB / 0.962 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7804, allocations: 1.219 kB / 0.962 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7804, allocations: 0 / 0.962 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.7804, allocations: 4.781 kB / 0.962 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.7807, allocations: 177.2 kB / 0.9622 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7808, allocations: 1.469 kB / 0.9622 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.7809, allocations: 16.64 kB / 0.9622 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.7809, allocations: 1.281 kB / 0.9622 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.7809, allocations: 11.94 kB / 0.9622 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.781, allocations: 1.312 kB / 0.9622 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.781, allocations: 80 / 0.9622 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.7812, allocations: 181.1 kB / 0.9624 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.7812, allocations: 83.64 kB / 0.9625 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.7813, allocations: 1.375 kB / 0.9625 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.7814, allocations: 5.406 kB / 0.9625 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.7815, allocations: 7.125 kB / 0.9625 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7815, allocations: 6.688 kB / 0.9625 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.7815, allocations: 80.64 kB / 0.9626 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7815, allocations: 1.375 kB / 0.9626 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004005/0.782, allocations: 17.61 kB / 0.9626 GB, free: 0.8164 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 (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.0001219/0.7821, allocations: 102.5 kB / 0.9627 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.7822, allocations: 45.98 kB / 0.9627 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7822, allocations: 0 / 0.9627 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.7823, allocations: 18.92 kB / 0.9628 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.7828, allocations: 13.48 kB / 0.9628 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.7836, allocations: 385 kB / 0.9631 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.7838, allocations: 0.6864 MB / 0.9638 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000103/0.7839, allocations: 10.52 kB / 0.9638 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.784, allocations: 15.55 kB / 0.9638 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of SimCode: time 9.81e-07/0.784, allocations: 0 / 0.9638 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.004135/0.7881, allocations: 0.5932 MB / 0.9644 GB, free: 15.33 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