Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001323/0.001323, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001291/0.001291, allocations: 187 kB / 17.34 MB, free: 5.719 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 68.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8018, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002049/0.8039, allocations: 1.268 MB / 1.168 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003571/0.8075, allocations: 2.928 MB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.8075, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.8076, allocations: 3.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.8076, allocations: 7.922 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.8081, allocations: 99.55 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.8082, allocations: 39.84 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.8082, allocations: 15.97 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.8087, allocations: 147.5 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.8087, allocations: 15.97 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.8087, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.8089, allocations: 75.81 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.8089, allocations: 11.92 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.809, allocations: 15.92 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.8091, allocations: 63.72 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8091, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8091, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.8092, allocations: 4 kB / 1.172 GB, free: 15.11 MB / 0.9044 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.0003949/0.8096, allocations: 347.4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.8096, allocations: 12.92 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.8096, allocations: 0.9375 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.8097, allocations: 166.2 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.8098, allocations: 384 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.8098, allocations: 8.375 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.8099, allocations: 57.73 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8099, allocations: 4 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.81, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.81, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.81, allocations: 11.98 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.8102, allocations: 173.5 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.8103, allocations: 54.56 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.8104, allocations: 24.78 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.811, allocations: 0.591 MB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.8111, allocations: 38.56 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.8111, allocations: 0 / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000566/0.8117, allocations: 294.3 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.8117, allocations: 55.41 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.8118, allocations: 101.8 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.8118, allocations: 33.7 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.8119, allocations: 84.08 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.8119, allocations: 31.67 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.8119, allocations: 25.72 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8121, allocations: 318.8 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.8121, allocations: 15.94 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.8122, allocations: 65.02 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.8122, allocations: 69.08 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.8123, allocations: 4 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001463/0.8124, allocations: 101.6 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.8124, allocations: 4 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8124, allocations: 0 / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.8125, allocations: 8.031 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.8125, allocations: 19.94 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.8125, allocations: 4 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.8126, allocations: 7.938 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.8126, allocations: 12.11 kB / 1.174 GB, free: 11.99 MB / 0.9044 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 7.377e-05/0.8127, allocations: 117.8 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.8127, allocations: 4 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.8128, allocations: 7.969 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.8128, allocations: 0 / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8128, allocations: 0 / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8128, allocations: 3.938 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.813, allocations: 169.7 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.813, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.8131, allocations: 31.92 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8131, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8132, allocations: 448 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8132, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8132, allocations: 4 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.8133, allocations: 179.4 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.8134, allocations: 77.11 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.8134, allocations: 4 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8136, allocations: 8.031 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.8136, allocations: 8 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.8136, allocations: 3.938 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.8136, allocations: 83.22 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8136, allocations: 3.938 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002361/0.8139, allocations: 12 kB / 1.175 GB, free: 11.19 MB / 0.9044 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.0001312/0.814, allocations: 103.2 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.8141, allocations: 47.92 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8141, allocations: 0 / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.8142, allocations: 16 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.8145, allocations: 4 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.815, allocations: 348.7 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.8153, allocations: 0.6884 MB / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.8153, allocations: 11.44 kB / 1.176 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8153, allocations: 4 kB / 1.176 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.002187/0.8175, allocations: 0.7784 MB / 1.177 GB, free: 9.137 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches