Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0009977/0.0009977, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001025/0.001025, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9078/0.9078, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.739/1.739, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.525e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001943/0.001968, allocations: 1.545 MB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003176, allocations: 0.9146 MB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.003244, allocations: 9.625 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.003426, allocations: 39.77 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.003449, allocations: 15.86 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.003867, allocations: 202.4 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.003962, allocations: 47.67 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.003997, allocations: 5.656 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/0.00408, allocations: 23.92 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.259e-05/0.004102, allocations: 11.98 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.004116, allocations: 0 / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.004457, allocations: 176.2 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.004468, allocations: 4.531 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.004491, allocations: 11.94 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.004688, allocations: 152.3 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004692, allocations: 0 / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.004693, allocations: 1.156 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.004697, allocations: 0 / 0.8146 GB, free: 14.56 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002826/0.00498, allocations: 396.2 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.005016, allocations: 13.41 kB / 0.815 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.005073, allocations: 128.1 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.005231, allocations: 258.2 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.005285, allocations: 248.4 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.005342, allocations: 238.8 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.683e-05/0.005398, allocations: 149.5 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.005423, allocations: 123.3 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.005472, allocations: 238.8 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.005524, allocations: 246.9 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.005573, allocations: 239.3 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.005788, allocations: 0.5837 MB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.691e-05/0.005864, allocations: 269.4 kB / 0.8176 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.005897, allocations: 127.4 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.005922, allocations: 119.8 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.005961, allocations: 162 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.005961, allocations: 0 / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.765e-05/0.006019, allocations: 33.59 kB / 0.8181 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.00607, allocations: 178.5 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.00619, allocations: 200.4 kB / 0.8184 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.006199, allocations: 25.7 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.006244, allocations: 134.9 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.006247, allocations: 0 / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.006273, allocations: 23.38 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.006377, allocations: 0.4923 MB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.006393, allocations: 0 / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.006404, allocations: 4.531 kB / 0.8191 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.006436, allocations: 12.41 kB / 0.8191 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006438, allocations: 0 / 0.8191 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.006547, allocations: 58.14 kB / 0.8191 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.006559, allocations: 4.562 kB / 0.8192 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.006576, allocations: 4 kB / 0.8192 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006588, allocations: 1.125 kB / 0.8192 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.006591, allocations: 0 / 0.8192 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006597, allocations: 3.938 kB / 0.8192 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.006613, allocations: 0.9688 kB / 0.8192 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006619, allocations: 0 / 0.8192 GB, free: 9.723 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.091e-05/0.0067, allocations: 280.6 kB / 0.8194 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.006746, allocations: 156.9 kB / 0.8196 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.006787, allocations: 158.9 kB / 0.8197 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-05/0.006838, allocations: 268.1 kB / 0.82 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.479e-05/0.006893, allocations: 275.9 kB / 0.8203 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-05/0.006945, allocations: 264.1 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.007106, allocations: 0.5076 MB / 0.821 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/0.007138, allocations: 148.8 kB / 0.8211 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.007321, allocations: 147.7 kB / 0.8213 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.537e-05/0.007377, allocations: 268 kB / 0.8215 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.007432, allocations: 272.1 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.918e-05/0.007482, allocations: 264.1 kB / 0.822 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.153e-05/0.007533, allocations: 272 kB / 0.8223 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.007652, allocations: 455.8 kB / 0.8227 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.007688, allocations: 149.2 kB / 0.8229 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.007748, allocations: 269.5 kB / 0.8231 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.007802, allocations: 156.9 kB / 0.8233 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.007857, allocations: 264.1 kB / 0.8235 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.007889, allocations: 156.8 kB / 0.8237 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.00794, allocations: 141.6 kB / 0.8238 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00794, allocations: 0 / 0.8238 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001984/0.008138, allocations: 35.88 kB / 0.8239 GB, free: 4.723 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 (0): * Single equations (assignments): 0 * 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.0002248/0.008363, allocations: 263.4 kB / 0.8241 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.008449, allocations: 42.11 kB / 0.8242 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008451, allocations: 4 kB / 0.8242 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.008452, allocations: 1.875 kB / 0.8242 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.008791, allocations: 0.7178 MB / 0.8249 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.009063, allocations: 270.8 kB / 0.8251 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.009095, allocations: 59.28 kB / 0.8252 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.009116, allocations: 5.094 kB / 0.8252 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.009133, allocations: 9.156 kB / 0.8252 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of SimCode: time 8.91e-07/0.009134, allocations: 0 / 0.8252 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of Templates: time 0.003531/0.01266, allocations: 1.828 MB / 0.827 GB, free: 1.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.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.710941418074071]