Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.1 MB / 399.7 MB, free: 9.422 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 179.3 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7872 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008626/0.0008627, allocations: 83.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.569e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.343, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.4, allocations: 151.1 MB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.401, allocations: 81.16 kB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01675/1.417, allocations: 5.343 MB / 1.365 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.707e-06/1.417, allocations: 0 / 1.365 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.417, allocations: 7.312 kB / 1.365 GB, free: 34.42 MB / 0.8386 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.0005576/1.418, allocations: 391.7 kB / 1.366 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.196e-05/1.418, allocations: 7.844 kB / 1.366 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/1.418, allocations: 7.562 kB / 1.366 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/1.419, allocations: 193.7 kB / 1.366 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/1.419, allocations: 7.188 kB / 1.366 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/1.419, allocations: 3.875 kB / 1.366 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/1.419, allocations: 53.34 kB / 1.366 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.419, allocations: 4 kB / 1.366 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/1.419, allocations: 7.359 kB / 1.366 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.419, allocations: 0 / 1.366 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/1.419, allocations: 25.06 kB / 1.366 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/1.42, allocations: 306.3 kB / 1.366 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/1.42, allocations: 47.91 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/1.42, allocations: 22.95 kB / 1.366 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/1.42, allocations: 3.938 kB / 1.366 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.42, allocations: 33.25 kB / 1.366 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/1.42, allocations: 0 / 1.366 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002668/1.42, allocations: 68.47 kB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.42, allocations: 63.3 kB / 1.366 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/1.42, allocations: 116.5 kB / 1.367 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/1.42, allocations: 28.45 kB / 1.367 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/1.421, allocations: 94 kB / 1.367 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.421, allocations: 22.69 kB / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/1.421, allocations: 0 / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.421, allocations: 317.2 kB / 1.367 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/1.421, allocations: 13.81 kB / 1.367 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/1.421, allocations: 17.84 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/1.421, allocations: 18.75 kB / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.421, allocations: 0 / 1.367 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001313/1.421, allocations: 77.02 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.421, allocations: 7.844 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.421, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.421, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.421, allocations: 17.06 kB / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.421, allocations: 0 / 1.367 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/1.421, allocations: 15.8 kB / 1.367 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/1.421, allocations: 0 / 1.367 GB, free: 32.74 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.806e-05/1.421, allocations: 111.6 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/1.421, allocations: 7.75 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/1.422, allocations: 82.62 kB / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.422, allocations: 0 / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.422, allocations: 0 / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.422, allocations: 0 / 1.367 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.422, allocations: 193.2 kB / 1.368 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.422, allocations: 4 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/1.422, allocations: 14.2 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/1.422, allocations: 0 / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.422, allocations: 0 / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/1.422, allocations: 3.875 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.422, allocations: 6.844 kB / 1.368 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/1.422, allocations: 170.2 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/1.422, allocations: 87.97 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/1.422, allocations: 3.812 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/1.422, allocations: 3.875 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/1.422, allocations: 10.33 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/1.422, allocations: 3.094 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.706e-05/1.423, allocations: 102.5 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.423, allocations: 0 / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002587/1.423, allocations: 28.88 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002518/1.423, allocations: 120 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001416/1.423, allocations: 44.64 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.423, allocations: 0 / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/1.423, allocations: 22.34 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/1.424, allocations: 14.88 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/1.424, allocations: 99.59 kB / 1.368 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/1.424, allocations: 0.6991 MB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.403e-05/1.424, allocations: 15.08 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/1.424, allocations: 7.438 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.424, allocations: 0 / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.003722/1.428, allocations: 0.9561 MB / 1.37 GB, free: 31.09 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches