Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001023/0.001024, allocations: 184.1 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009631/0.000963, allocations: 83.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.556e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3734, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.503, allocations: 152 MB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.504, allocations: 87.06 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01755/1.521, allocations: 5.362 MB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.967e-06/1.521, allocations: 0 / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.632e-05/1.521, allocations: 0 / 1.372 GB, free: 13.44 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.0008663/1.522, allocations: 390.5 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.873e-05/1.522, allocations: 8.031 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/1.522, allocations: 15.86 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/1.523, allocations: 198.7 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.523, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/1.523, allocations: 4 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/1.523, allocations: 60.23 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/1.523, allocations: 0 / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.523, allocations: 3.938 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.523, allocations: 0 / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/1.523, allocations: 27.05 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/1.524, allocations: 306.8 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/1.524, allocations: 43.89 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/1.524, allocations: 19.8 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/1.525, allocations: 0 / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.525, allocations: 42.55 kB / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/1.525, allocations: 0 / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0003741/1.525, allocations: 72.55 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/1.525, allocations: 51.41 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/1.525, allocations: 121.5 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/1.525, allocations: 25.7 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.525, allocations: 92.14 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/1.525, allocations: 26.08 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/1.525, allocations: 7.938 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.526, allocations: 313.7 kB / 1.374 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/1.526, allocations: 13.31 kB / 1.374 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/1.526, allocations: 14.25 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/1.526, allocations: 15.17 kB / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.526, allocations: 0 / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002507/1.526, allocations: 71.06 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.526, allocations: 4 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.526, allocations: 0 / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.526, allocations: 4 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/1.526, allocations: 19.98 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/1.526, allocations: 4.578 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/1.526, allocations: 11.89 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/1.527, allocations: 3.938 kB / 1.374 GB, free: 11.4 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 0.0001204/1.527, allocations: 107 kB / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/1.527, allocations: 7.906 kB / 1.374 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/1.527, allocations: 82.52 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.527, allocations: 0 / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.527, allocations: 0 / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.527, allocations: 3.953 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/1.527, allocations: 194.2 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.527, allocations: 3.938 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/1.527, allocations: 19.88 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.528, allocations: 0 / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.528, allocations: 3.984 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.528, allocations: 4.312 kB / 1.375 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.528, allocations: 0 / 1.375 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/1.528, allocations: 176.1 kB / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/1.528, allocations: 89 kB / 1.375 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/1.528, allocations: 0 / 1.375 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/1.528, allocations: 7.984 kB / 1.375 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/1.528, allocations: 4 kB / 1.375 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.528, allocations: 11.23 kB / 1.375 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.162e-05/1.528, allocations: 99.34 kB / 1.375 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.41e-07/1.528, allocations: 0 / 1.375 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000322/1.529, allocations: 24 kB / 1.375 GB, free: 10.54 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.0003481/1.529, allocations: 123.1 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000171/1.529, allocations: 37.75 kB / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.529, allocations: 0 / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/1.529, allocations: 23.3 kB / 1.375 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/1.53, allocations: 15.55 kB / 1.375 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/1.53, allocations: 102.8 kB / 1.375 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/1.531, allocations: 0.6926 MB / 1.376 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.252e-05/1.531, allocations: 8.172 kB / 1.376 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/1.531, allocations: 14.94 kB / 1.376 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of SimCode: time 1.122e-06/1.531, allocations: 0 / 1.376 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of Templates: time 0.005192/1.536, allocations: 0.9588 MB / 1.377 GB, free: 8.57 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches