Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001342/0.001342, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001597/0.001597, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9609/0.9609, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.9 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.867e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001921/0.00194, allocations: 1.672 MB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003057, allocations: 0.9497 MB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.003124, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.003153, allocations: 9.219 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.00334, allocations: 23.78 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.003611, allocations: 161.3 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003732, allocations: 85.16 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.266e-05/0.003805, allocations: 11.97 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.003924, allocations: 43.91 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.003988, allocations: 33.3 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004002, allocations: 4 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.004259, allocations: 275.6 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.004272, allocations: 15.86 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.004293, allocations: 21.86 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004477, allocations: 167.5 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004479, allocations: 0 / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004479, allocations: 0 / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004482, allocations: 0 / 0.8154 GB, free: 13.96 MB / 0.7761 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.0004687/0.004951, allocations: 442.2 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004985, allocations: 8.031 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.005127, allocations: 32.83 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.005244, allocations: 137.7 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.005254, allocations: 12.31 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.005261, allocations: 4.906 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.704e-05/0.005348, allocations: 60.56 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.005353, allocations: 192 / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.00536, allocations: 384 / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005365, allocations: 7.875 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.005393, allocations: 15.98 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.005643, allocations: 266.2 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.344e-05/0.005707, allocations: 46.98 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.005727, allocations: 16.83 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.005741, allocations: 0 / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.005759, allocations: 33.39 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.00576, allocations: 5.375 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001516/0.005911, allocations: 65.64 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.005937, allocations: 55.41 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.006016, allocations: 191.9 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.006027, allocations: 26.73 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.006076, allocations: 146.8 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.006091, allocations: 16.5 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.006122, allocations: 31.36 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.006223, allocations: 0.4893 MB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.006238, allocations: 4 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.006251, allocations: 4 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.006293, allocations: 32.5 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006295, allocations: 0 / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.699e-05/0.006372, allocations: 63.14 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006384, allocations: 10.44 kB / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.006388, allocations: 0 / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.006397, allocations: 4 kB / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.006453, allocations: 12.95 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006456, allocations: 0 / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.006482, allocations: 6.531 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.006487, allocations: 0 / 0.8176 GB, free: 11.57 MB / 0.7761 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 5.767e-05/0.006545, allocations: 156.6 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.006569, allocations: 11.95 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.006659, allocations: 81.98 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.00666, allocations: 2.25 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.006661, allocations: 0 / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.006665, allocations: 4 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.006766, allocations: 117.1 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006767, allocations: 0 / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.006801, allocations: 19.92 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.006803, allocations: 0.5 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.006807, allocations: 0.5312 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006808, allocations: 0 / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.00681, allocations: 5.281 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.006912, allocations: 207.9 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.006921, allocations: 11.89 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006929, allocations: 0.5 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.006965, allocations: 3.984 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.006989, allocations: 12.53 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006992, allocations: 0.6562 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.007038, allocations: 144.3 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007038, allocations: 0.6562 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001511/0.007189, allocations: 20 kB / 0.8183 GB, free: 10.73 MB / 0.7761 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.000102/0.007291, allocations: 122.5 kB / 0.8185 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.36e-05/0.007355, allocations: 27.66 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007356, allocations: 0 / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.00738, allocations: 23.62 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.007556, allocations: 12.36 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.007979, allocations: 208.6 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.096e-05/0.00801, allocations: 63.34 kB / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.008039, allocations: 10.05 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.008094, allocations: 78.19 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of SimCode: time 3.51e-07/0.008094, allocations: 1.125 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.002538/0.01063, allocations: 1.279 MB / 0.8201 GB, free: 8.895 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.655530067160726]