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.0009195/0.0009195, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009578/0.0009578, allocations: 160.2 kB / 24.87 MB, free: 9.285 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.9165/0.9165, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.802/1.802, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.644e-06/1.644e-06, allocations: 0 / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.088e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003374/0.003405, allocations: 1.657 MB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.005319, allocations: 0.9492 MB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.005423, allocations: 4 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.005464, allocations: 12.77 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.005715, allocations: 20.84 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.006202, allocations: 172.8 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.006389, allocations: 79.66 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.006497, allocations: 9.453 kB / 0.8157 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.006681, allocations: 47.89 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.006771, allocations: 27.91 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.00679, allocations: 5.594 kB / 0.8157 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.007204, allocations: 279.5 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.007229, allocations: 8 kB / 0.816 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.007265, allocations: 23.92 kB / 0.816 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.007565, allocations: 168.5 kB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.007569, allocations: 4 kB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.31e-07/0.00757, allocations: 0 / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.007575, allocations: 0.5312 kB / 0.8162 GB, free: 13.95 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.0004951/0.00807, allocations: 441.5 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.008108, allocations: 8.031 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.008318, allocations: 37.44 kB / 0.8167 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.008496, allocations: 138.4 kB / 0.8168 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-06/0.008506, allocations: 4.312 kB / 0.8168 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.008516, allocations: 4.375 kB / 0.8168 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.008634, allocations: 62.92 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.008641, allocations: 5.344 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.008649, allocations: 384 / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.008659, allocations: 7.938 kB / 0.8169 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.008694, allocations: 4.938 kB / 0.8169 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.009026, allocations: 269.2 kB / 0.8171 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.00911, allocations: 43.91 kB / 0.8172 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.009137, allocations: 19.8 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.009151, allocations: 5.281 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.009174, allocations: 33.39 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.009175, allocations: 0 / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001994/0.009375, allocations: 65.52 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.009408, allocations: 52.25 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.009523, allocations: 195.8 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.009538, allocations: 30.64 kB / 0.8176 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.009598, allocations: 138.8 kB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.009618, allocations: 21.34 kB / 0.8177 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.009661, allocations: 27.34 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.009801, allocations: 0.4923 MB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.009822, allocations: 4 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.009841, allocations: 5.25 kB / 0.8182 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.009897, allocations: 23.67 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.009899, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000121/0.01002, allocations: 65.58 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.01004, allocations: 17.38 kB / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01004, allocations: 0 / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.01005, allocations: 0 / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.01013, allocations: 11.98 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01013, allocations: 4 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.01016, allocations: 0 / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.01017, allocations: 7.938 kB / 0.8183 GB, free: 11.56 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 7.928e-05/0.01025, allocations: 153.1 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.0103, allocations: 17.88 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.01043, allocations: 78.44 kB / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01043, allocations: 64 / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01043, allocations: 4 kB / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01044, allocations: 0 / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.01058, allocations: 122.2 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01058, allocations: 0 / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.01064, allocations: 11.98 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01064, allocations: 0.6562 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.01065, allocations: 4 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01065, allocations: 2.531 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.01065, allocations: 3.938 kB / 0.8187 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.01113, allocations: 211.8 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.01114, allocations: 7.953 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.01115, allocations: 3.984 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.01122, allocations: 7.984 kB / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.01126, allocations: 6.844 kB / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.01126, allocations: 7.984 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.01132, allocations: 140.5 kB / 0.8191 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01132, allocations: 0 / 0.8191 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002625/0.01158, allocations: 16 kB / 0.8191 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.000163/0.01175, allocations: 121.3 kB / 0.8192 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.664e-05/0.01184, allocations: 31.67 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01184, allocations: 0.9375 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.01188, allocations: 19.62 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01215, allocations: 17.11 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.01274, allocations: 208.8 kB / 0.8195 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.01278, allocations: 59.34 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.01282, allocations: 6.812 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.0129, allocations: 82.19 kB / 0.8196 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.0129, allocations: 0 / 0.8196 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.003598/0.0165, allocations: 1.289 MB / 0.8209 GB, free: 8.879 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.72189521882683]