Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9216/0.9216, allocations: 177.1 MB / 204.2 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.514e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002254/0.002279, allocations: 1.67 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003598, allocations: 0.96 MB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.003678, allocations: 1.188 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.003719, allocations: 11.81 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.004008, allocations: 28.62 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.004345, allocations: 162.8 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.004478, allocations: 79.66 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.981e-05/0.004567, allocations: 4 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.004697, allocations: 55.81 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.004767, allocations: 27.91 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.004783, allocations: 4 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.005057, allocations: 272.1 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.005073, allocations: 16.64 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.005104, allocations: 19.92 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.005329, allocations: 176 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005331, allocations: 1.656 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.005332, allocations: 0 / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.005337, allocations: 0 / 0.7905 GB, free: 8.973 MB / 0.7448 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.0004717/0.005809, allocations: 432.6 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.005856, allocations: 8.031 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.006063, allocations: 37.61 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.006232, allocations: 147.6 kB / 0.7911 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.006244, allocations: 1.75 kB / 0.7911 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.006256, allocations: 4.375 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.0064, allocations: 62.94 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.006407, allocations: 192 / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006419, allocations: 6.125 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.006428, allocations: 3.938 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.006472, allocations: 15.98 kB / 0.7912 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.006831, allocations: 292.9 kB / 0.7915 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.006931, allocations: 43.05 kB / 0.7915 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.00696, allocations: 13 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.006976, allocations: 4.062 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.007002, allocations: 45.33 kB / 0.7916 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/0.007004, allocations: 1.625 kB / 0.7916 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002112/0.007215, allocations: 61.58 kB / 0.7917 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.007253, allocations: 59.39 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.007377, allocations: 190.8 kB / 0.7919 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.007389, allocations: 25.7 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.007455, allocations: 145.5 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.007477, allocations: 19.83 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.007511, allocations: 23.38 kB / 0.7921 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.007636, allocations: 0.4923 MB / 0.7926 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.007659, allocations: 4 kB / 0.7926 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.007679, allocations: 7.984 kB / 0.7926 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/0.007733, allocations: 27.69 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007736, allocations: 0.5 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001087/0.007844, allocations: 74.03 kB / 0.7927 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.00786, allocations: 4 kB / 0.7927 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.007866, allocations: 1.938 kB / 0.7927 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.007883, allocations: 0 / 0.7927 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.007974, allocations: 15.98 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.007983, allocations: 0 / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.008009, allocations: 8 kB / 0.7927 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.008017, allocations: 6.578 kB / 0.7927 GB, free: 6.535 MB / 0.7448 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.008082, allocations: 152.6 kB / 0.7929 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.008112, allocations: 20.33 kB / 0.7929 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.008239, allocations: 66.14 kB / 0.793 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.008244, allocations: 8 kB / 0.793 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.008254, allocations: 0.8438 kB / 0.793 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.008258, allocations: 0 / 0.793 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.008366, allocations: 144.6 kB / 0.7931 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008367, allocations: 0.8438 kB / 0.7931 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.008406, allocations: 15.98 kB / 0.7931 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008409, allocations: 5.281 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008417, allocations: 3.938 kB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.00842, allocations: 3.984 kB / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008421, allocations: 0.8438 kB / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.00854, allocations: 215.8 kB / 0.7933 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.008549, allocations: 8.672 kB / 0.7933 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008562, allocations: 3.938 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.008598, allocations: 10.92 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.008635, allocations: 4 kB / 0.7934 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.008641, allocations: 3.984 kB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.00869, allocations: 144.5 kB / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00869, allocations: 0 / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001513/0.008841, allocations: 16 kB / 0.7935 GB, free: 5.66 MB / 0.7448 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 () * Number of clocked 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 (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.0001328/0.008974, allocations: 121.1 kB / 0.7936 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009082, allocations: 35.61 kB / 0.7937 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.009083, allocations: 0 / 0.7937 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.00911, allocations: 19.69 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.009322, allocations: 16.86 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.009903, allocations: 201.1 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.009947, allocations: 65.41 kB / 0.794 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.009981, allocations: 5.281 kB / 0.794 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.01001, allocations: 14.38 kB / 0.794 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01001, allocations: 0 / 0.794 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of Templates: time 0.002984/0.013, allocations: 1.259 MB / 0.7952 GB, free: 3.91 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.820135830901563]