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.001496/0.001496, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001659/0.00166, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.258/2.258, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.88 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2696, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002236/0.2719, allocations: 1.264 MB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.2754, allocations: 2.94 MB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.2754, allocations: 0 / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.2755, allocations: 7.922 kB / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.2755, allocations: 7.922 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.276, allocations: 99.55 kB / 0.9553 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.463e-05/0.2761, allocations: 39.91 kB / 0.9554 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.2762, allocations: 4 kB / 0.9554 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.2766, allocations: 155.5 kB / 0.9555 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.2767, allocations: 12 kB / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2767, allocations: 0 / 0.9555 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.2768, allocations: 71.8 kB / 0.9556 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2769, allocations: 7.938 kB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2769, allocations: 27.91 kB / 0.9556 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2771, allocations: 59.88 kB / 0.9557 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2771, allocations: 0 / 0.9557 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2771, allocations: 0 / 0.9557 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2771, allocations: 0 / 0.9557 GB, free: 3.332 MB / 0.7325 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.000382/0.2775, allocations: 339.5 kB / 0.956 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2775, allocations: 12.03 kB / 0.956 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2776, allocations: 4.844 kB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2777, allocations: 172.3 kB / 0.9562 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.2777, allocations: 4.375 kB / 0.9562 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2777, allocations: 4.375 kB / 0.9562 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2779, allocations: 65.72 kB / 0.9563 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2779, allocations: 0 / 0.9563 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2779, allocations: 0 / 0.9563 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2779, allocations: 0 / 0.9563 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.278, allocations: 23.97 kB / 0.9563 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.2781, allocations: 161.7 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.2782, allocations: 50.55 kB / 0.9565 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.2783, allocations: 20.84 kB / 0.9565 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006761/0.2789, allocations: 0.5948 MB / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.279, allocations: 30.56 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.279, allocations: 0 / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005454/0.2795, allocations: 314.2 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2796, allocations: 51.41 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.2796, allocations: 97.86 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2797, allocations: 25.7 kB / 0.9576 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2797, allocations: 88.05 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.2797, allocations: 31.55 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.2798, allocations: 21.72 kB / 0.9577 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2799, allocations: 330.8 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.28, allocations: 12 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.28, allocations: 57.02 kB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.2801, allocations: 73.52 kB / 0.9582 GB, free: 392 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2801, allocations: 0 / 0.9582 GB, free: 392 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001354/0.2803, allocations: 93.55 kB / 0.9582 GB, free: 292 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2803, allocations: 8 kB / 0.9583 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2803, allocations: 4 kB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2803, allocations: 4 kB / 0.9583 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.2804, allocations: 28.05 kB / 0.9583 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2804, allocations: 0 / 0.9583 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.2805, allocations: 7.938 kB / 0.9583 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.2805, allocations: 8 kB / 0.9583 GB, free: 232 kB / 0.7325 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.031e-05/0.2806, allocations: 109.8 kB / 0.9584 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.2806, allocations: 7.906 kB / 0.9584 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.2806, allocations: 7.969 kB / 0.9584 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2806, allocations: 4 kB / 0.9584 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2806, allocations: 0 / 0.9584 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2806, allocations: 7.938 kB / 0.9584 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.2809, allocations: 173.6 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2809, allocations: 0 / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.281, allocations: 19.92 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.281, allocations: 0 / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.281, allocations: 4.281 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.281, allocations: 0 / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.281, allocations: 0 / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.2812, allocations: 175.5 kB / 0.9588 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2813, allocations: 89.02 kB / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2813, allocations: 0 / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2814, allocations: 8.031 kB / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.2814, allocations: 0 / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2814, allocations: 7.938 kB / 0.9589 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.2815, allocations: 87.27 kB / 0.959 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.282e-06/0.2815, allocations: 3.938 kB / 0.959 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002339/0.2817, allocations: 11.94 kB / 0.959 GB, free: 15.43 MB / 0.7481 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.0001203/0.2819, allocations: 111.2 kB / 0.9591 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.282, allocations: 43.92 kB / 0.9591 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.282, allocations: 0 / 0.9591 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.282, allocations: 8.156 kB / 0.9591 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.2823, allocations: 14.08 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.2828, allocations: 323 kB / 0.9595 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.283, allocations: 0.6846 MB / 0.9601 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.2831, allocations: 7.984 kB / 0.9601 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.2831, allocations: 15.38 kB / 0.9602 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2831, allocations: 0 / 0.9602 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of Templates: time 0.00276/0.2859, allocations: 0.625 MB / 0.9608 GB, free: 13.55 MB / 0.7481 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches