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.001494/0.001494, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001665/0.001665, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.202/2.202, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 61.09 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003166/0.2697, allocations: 1.264 MB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.2743, allocations: 2.94 MB / 0.9544 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.2744, allocations: 4 kB / 0.9544 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.2745, allocations: 3.984 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.2745, allocations: 7.922 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.2751, allocations: 99.55 kB / 0.9545 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.216e-05/0.2752, allocations: 39.84 kB / 0.9545 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.2752, allocations: 4 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.2757, allocations: 155.5 kB / 0.9547 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.2758, allocations: 11.98 kB / 0.9547 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2758, allocations: 4 kB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.276, allocations: 71.86 kB / 0.9547 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.276, allocations: 7.938 kB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.276, allocations: 15.92 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2762, allocations: 64.14 kB / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2762, allocations: 0 / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2763, allocations: 0 / 0.9548 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2763, allocations: 0 / 0.9548 GB, free: 4.195 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.000424/0.2767, allocations: 351.4 kB / 0.9552 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.2768, allocations: 8.031 kB / 0.9552 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.2768, allocations: 12.84 kB / 0.9552 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2769, allocations: 168.3 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2769, allocations: 384 / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.277, allocations: 4.375 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2771, allocations: 57.8 kB / 0.9554 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2771, allocations: 0 / 0.9554 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2772, allocations: 4 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2772, allocations: 0 / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.2772, allocations: 19.97 kB / 0.9554 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.2774, allocations: 169.6 kB / 0.9556 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.2775, allocations: 50.56 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.2776, allocations: 24.78 kB / 0.9557 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007433/0.2783, allocations: 0.5868 MB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.2783, allocations: 34.56 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2784, allocations: 4 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005991/0.279, allocations: 302.5 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.279, allocations: 51.41 kB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.2791, allocations: 101.8 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2791, allocations: 29.7 kB / 0.9567 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.2792, allocations: 88.05 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.2792, allocations: 31.55 kB / 0.9568 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.2792, allocations: 25.72 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2793, allocations: 322.8 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.2794, allocations: 15.94 kB / 0.9572 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.2794, allocations: 49.58 kB / 0.9572 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.2795, allocations: 77.02 kB / 0.9573 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2795, allocations: 4 kB / 0.9573 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001481/0.2797, allocations: 101.7 kB / 0.9574 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2797, allocations: 4 kB / 0.9574 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2797, allocations: 8.125 kB / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2797, allocations: 0 / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.2798, allocations: 16 kB / 0.9574 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2798, allocations: 7.984 kB / 0.9574 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.2799, allocations: 3.938 kB / 0.9574 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2799, allocations: 8 kB / 0.9575 GB, free: 1.086 MB / 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.419e-05/0.28, allocations: 115.8 kB / 0.9576 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.28, allocations: 7.906 kB / 0.9576 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.2801, allocations: 7.969 kB / 0.9576 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2801, allocations: 4 kB / 0.9576 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2801, allocations: 0 / 0.9576 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2801, allocations: 3.938 kB / 0.9576 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.2804, allocations: 173.7 kB / 0.9578 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2804, allocations: 0 / 0.9578 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.2805, allocations: 19.98 kB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2805, allocations: 0 / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2805, allocations: 0 / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2805, allocations: 0 / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2805, allocations: 0 / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.2807, allocations: 183.4 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.2808, allocations: 85.02 kB / 0.958 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2808, allocations: 7.938 kB / 0.958 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2809, allocations: 4.031 kB / 0.958 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.2809, allocations: 4 kB / 0.958 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.2809, allocations: 3.938 kB / 0.9581 GB, free: 392 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.281, allocations: 87.22 kB / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.281, allocations: 0 / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002503/0.2812, allocations: 16 kB / 0.9581 GB, free: 288 kB / 0.7325 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.0001383/0.2814, allocations: 103.2 kB / 0.9582 GB, free: 176 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.2815, allocations: 52 kB / 0.9583 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2815, allocations: 0 / 0.9583 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-05/0.2816, allocations: 12 kB / 0.9583 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2819, allocations: 12.84 kB / 0.9583 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.2825, allocations: 356.6 kB / 0.9587 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2828, allocations: 0.6807 MB / 0.9593 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.2828, allocations: 11.44 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2828, allocations: 0 / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of Templates: time 0.002516/0.2854, allocations: 0.7771 MB / 0.9601 GB, free: 14.22 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 -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