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.001407/0.001407, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001473/0.001473, allocations: 169 kB / 24.28 MB, free: 276 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.8891/0.8891, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.768/1.768, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.704e-06/1.704e-06, allocations: 0 / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.235e-05, allocations: 7.094 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002791/0.002813, allocations: 1.678 MB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004471, allocations: 0.9528 MB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.004548, allocations: 5.469 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.004582, allocations: 7.922 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.004798, allocations: 24.36 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.005243, allocations: 158 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.005407, allocations: 83.59 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005511, allocations: 15.92 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.005673, allocations: 39.95 kB / 0.8145 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.005759, allocations: 29.16 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.00578, allocations: 4 kB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.006196, allocations: 280.1 kB / 0.8148 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.006218, allocations: 11.94 kB / 0.8148 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.006254, allocations: 21.58 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.006556, allocations: 175.4 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006558, allocations: 0 / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.084e-06/0.00656, allocations: 4 kB / 0.815 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.006565, allocations: 0.5 kB / 0.815 GB, free: 14.55 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.0005214/0.007086, allocations: 429.4 kB / 0.8154 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.00713, allocations: 12.03 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.007403, allocations: 33.97 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.007593, allocations: 144.1 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.007604, allocations: 384 / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.007619, allocations: 8.375 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.007778, allocations: 68.67 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007787, allocations: 4.172 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.007798, allocations: 384 / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.007808, allocations: 3.938 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.978e-05/0.007868, allocations: 15.92 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.008306, allocations: 286 kB / 0.8159 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.00841, allocations: 42.98 kB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.00845, allocations: 19.81 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.008464, allocations: 2.781 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.008494, allocations: 45.25 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.008496, allocations: 0 / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0002397/0.008736, allocations: 65.64 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.008769, allocations: 51.41 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.008895, allocations: 189.9 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.00891, allocations: 29.7 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.008977, allocations: 146.8 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.008996, allocations: 13.31 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.009041, allocations: 27.36 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.009186, allocations: 0.4884 MB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.009218, allocations: 7.984 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.009246, allocations: 12.44 kB / 0.817 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.042e-05/0.009317, allocations: 28.23 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009319, allocations: 0 / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001429/0.009462, allocations: 71.39 kB / 0.8171 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.009475, allocations: 4 kB / 0.8171 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00948, allocations: 0 / 0.8171 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.009493, allocations: 2.594 kB / 0.8171 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.009595, allocations: 15.98 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.009602, allocations: 4 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.009642, allocations: 0 / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.009651, allocations: 7.938 kB / 0.8171 GB, free: 12.12 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 8.146e-05/0.009732, allocations: 156.6 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.009783, allocations: 16.45 kB / 0.8173 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.009931, allocations: 71.25 kB / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.009936, allocations: 3.984 kB / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.00994, allocations: 4 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009943, allocations: 0.9688 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.01011, allocations: 140.6 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01011, allocations: 0 / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.01017, allocations: 12.83 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01018, allocations: 0 / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01019, allocations: 12.47 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01019, allocations: 3.938 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01019, allocations: 3.688 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.01037, allocations: 211.9 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.01038, allocations: 7.953 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.0104, allocations: 7.938 kB / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.01047, allocations: 0 / 0.8178 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.01052, allocations: 7.984 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01052, allocations: 0 / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.01059, allocations: 141.2 kB / 0.8179 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01059, allocations: 0 / 0.8179 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002835/0.01088, allocations: 24 kB / 0.8179 GB, free: 11.25 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.0001693/0.01105, allocations: 123.5 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01117, allocations: 31.8 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01117, allocations: 1.031 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.01122, allocations: 23.8 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01151, allocations: 13.12 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.01224, allocations: 204.5 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.993e-05/0.01229, allocations: 63.34 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.508e-05/0.01234, allocations: 14.56 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.01239, allocations: 12.5 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01239, allocations: 4 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.003829/0.01622, allocations: 1.149 MB / 0.8195 GB, free: 9.598 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.6586694698780775]