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.001206/0.001206, 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.001195/0.001195, 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.602 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 2/2, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.415e-06/2.415e-06, allocations: 0 / 0.8116 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.313e-05, allocations: 3.875 kB / 0.8116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002507/0.00254, allocations: 1.675 MB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004011, allocations: 0.9691 MB / 0.8142 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.004102, allocations: 4 kB / 0.8142 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.004141, allocations: 3.938 kB / 0.8142 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.004387, allocations: 32.97 kB / 0.8142 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.004903, allocations: 157.4 kB / 0.8144 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.005078, allocations: 83.59 kB / 0.8144 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.005208, allocations: 12.64 kB / 0.8144 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.005409, allocations: 44.67 kB / 0.8145 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.005503, allocations: 31.89 kB / 0.8145 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.005523, allocations: 4.906 kB / 0.8145 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.005902, allocations: 267.6 kB / 0.8148 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.00593, allocations: 20.56 kB / 0.8148 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.005968, allocations: 23.92 kB / 0.8148 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.006264, allocations: 168.6 kB / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006267, allocations: 4 kB / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006269, allocations: 0 / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.006275, allocations: 0.5938 kB / 0.815 GB, free: 13.04 MB / 0.7292 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.0006549/0.00693, allocations: 433.8 kB / 0.8154 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.006987, allocations: 8.031 kB / 0.8154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.007244, allocations: 35.12 kB / 0.8154 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.007466, allocations: 144.4 kB / 0.8156 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.007478, allocations: 384 / 0.8156 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.007492, allocations: 4.375 kB / 0.8156 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.007656, allocations: 66.88 kB / 0.8156 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.007667, allocations: 0.9062 kB / 0.8156 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.007679, allocations: 384 / 0.8156 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.00769, allocations: 4.469 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.007738, allocations: 17.39 kB / 0.8157 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.00817, allocations: 291.6 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.008274, allocations: 52.52 kB / 0.816 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.008317, allocations: 11.81 kB / 0.816 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.008341, allocations: 4 kB / 0.816 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.00837, allocations: 39.17 kB / 0.816 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.008372, allocations: 4 kB / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.008599, allocations: 57.64 kB / 0.8161 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.008631, allocations: 55.41 kB / 0.8162 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.008736, allocations: 197.8 kB / 0.8164 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.008748, allocations: 26.89 kB / 0.8164 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.00881, allocations: 146.9 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.00883, allocations: 19.78 kB / 0.8165 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.008866, allocations: 24.78 kB / 0.8166 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.009044, allocations: 0.4923 MB / 0.817 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.009069, allocations: 4 kB / 0.817 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.009088, allocations: 7.984 kB / 0.8171 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.009142, allocations: 28.22 kB / 0.8171 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009144, allocations: 0.5 kB / 0.8171 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001247/0.009269, allocations: 66.02 kB / 0.8171 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.009284, allocations: 4.531 kB / 0.8171 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.009291, allocations: 8.812 kB / 0.8172 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.009307, allocations: 3.984 kB / 0.8172 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.009405, allocations: 20.8 kB / 0.8172 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.009413, allocations: 0 / 0.8172 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.009439, allocations: 0.5312 kB / 0.8172 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.009449, allocations: 7.984 kB / 0.8172 GB, free: 10.59 MB / 0.7292 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 8.295e-05/0.009531, allocations: 154 kB / 0.8173 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.009574, allocations: 19.89 kB / 0.8174 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.009743, allocations: 63.39 kB / 0.8174 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.009748, allocations: 4 kB / 0.8174 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.009754, allocations: 3.938 kB / 0.8174 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.009758, allocations: 0 / 0.8174 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.009882, allocations: 141.2 kB / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.009885, allocations: 0.7188 kB / 0.8176 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.009932, allocations: 11.98 kB / 0.8176 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.009935, allocations: 0.9062 kB / 0.8176 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.009946, allocations: 11.88 kB / 0.8176 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.009948, allocations: 3.984 kB / 0.8176 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.00995, allocations: 0.8438 kB / 0.8176 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.01011, allocations: 207.9 kB / 0.8178 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01013, allocations: 13.2 kB / 0.8178 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01014, allocations: 3.938 kB / 0.8178 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.01018, allocations: 3.984 kB / 0.8178 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.01022, allocations: 12.44 kB / 0.8178 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.01023, allocations: 4.703 kB / 0.8178 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.01029, allocations: 145.4 kB / 0.818 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01029, allocations: 1.719 kB / 0.818 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000165/0.01045, allocations: 16 kB / 0.818 GB, free: 9.723 MB / 0.7292 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.0001729/0.01062, allocations: 119.2 kB / 0.8181 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01074, allocations: 36.67 kB / 0.8181 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01074, allocations: 0 / 0.8181 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.01077, allocations: 23.62 kB / 0.8181 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.011, allocations: 15.45 kB / 0.8182 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.01167, allocations: 197.3 kB / 0.8183 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.01171, allocations: 63.34 kB / 0.8184 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.01175, allocations: 9.5 kB / 0.8184 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.01179, allocations: 13.59 kB / 0.8184 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of SimCode: time 1.453e-06/0.01179, allocations: 0 / 0.8184 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of Templates: time 0.003799/0.01559, allocations: 1.15 MB / 0.8196 GB, free: 8.094 MB / 0.7292 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: 5.84658158570528]