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.001168/0.001168, 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.001265/0.001265, 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 0.9529/0.9529, 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.802/1.802, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.203e-06/1.203e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.149e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001832/0.001854, allocations: 1.542 MB / 0.8131 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002929, allocations: 0.9182 MB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.002991, allocations: 5.469 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.003187, allocations: 39.77 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.003207, allocations: 19.84 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.00362, allocations: 194.6 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.003706, allocations: 51.67 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.003744, allocations: 4.562 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.003828, allocations: 27.91 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.00385, allocations: 9.375 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.003864, allocations: 0 / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.004179, allocations: 171.8 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.004191, allocations: 6.5 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.004215, allocations: 15.94 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.004399, allocations: 155.5 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004401, allocations: 0 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004401, allocations: 0 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004405, allocations: 0 / 0.8146 GB, free: 14.54 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.0002933/0.004698, allocations: 396.2 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.004739, allocations: 12.56 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.004803, allocations: 124.8 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.004986, allocations: 252.1 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.005051, allocations: 242.8 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.005117, allocations: 248.3 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.505e-05/0.005182, allocations: 145.5 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.005213, allocations: 119.4 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.005272, allocations: 242.7 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.005331, allocations: 242.8 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.005391, allocations: 247 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.005659, allocations: 0.5798 MB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.005753, allocations: 274.2 kB / 0.8176 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.00579, allocations: 126.9 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.00582, allocations: 124.3 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.005866, allocations: 152.6 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.005867, allocations: 0 / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.575e-05/0.005933, allocations: 38.97 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.005987, allocations: 178.5 kB / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.006124, allocations: 197.8 kB / 0.8184 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.006133, allocations: 25.7 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.006187, allocations: 143.5 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.006189, allocations: 1.062 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.006222, allocations: 23.36 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.006349, allocations: 496.1 kB / 0.8191 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.006365, allocations: 5.094 kB / 0.8191 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-06/0.006374, allocations: 0 / 0.8191 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.006407, allocations: 19.67 kB / 0.8191 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.006409, allocations: 4.844 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.006523, allocations: 45.59 kB / 0.8191 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.006535, allocations: 7.625 kB / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.006552, allocations: 0 / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.006567, allocations: 0 / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.006571, allocations: 0 / 0.8192 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.006578, allocations: 11.92 kB / 0.8192 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.006596, allocations: 0 / 0.8192 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.006601, allocations: 2.781 kB / 0.8192 GB, free: 9.695 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 9.57e-05/0.006697, allocations: 275.8 kB / 0.8194 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.006755, allocations: 152.9 kB / 0.8196 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.006809, allocations: 160.6 kB / 0.8197 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/0.006874, allocations: 268.1 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.834e-05/0.006942, allocations: 276 kB / 0.8202 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-05/0.007009, allocations: 264.1 kB / 0.8205 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.007205, allocations: 0.4975 MB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/0.007242, allocations: 152.8 kB / 0.8211 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.007282, allocations: 152.9 kB / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.468e-05/0.007347, allocations: 268 kB / 0.8215 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.007412, allocations: 268.6 kB / 0.8218 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.438e-05/0.007477, allocations: 272.1 kB / 0.822 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.188e-05/0.007538, allocations: 268.6 kB / 0.8223 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.007675, allocations: 456.3 kB / 0.8227 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.007719, allocations: 149.2 kB / 0.8229 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.007791, allocations: 269.4 kB / 0.8231 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.007867, allocations: 152.9 kB / 0.8233 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.007936, allocations: 272.1 kB / 0.8235 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.007983, allocations: 153.9 kB / 0.8237 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.008041, allocations: 139.8 kB / 0.8238 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008041, allocations: 0 / 0.8238 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002713/0.008312, allocations: 36.53 kB / 0.8239 GB, free: 4.699 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.0002361/0.008549, allocations: 267 kB / 0.8241 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.008669, allocations: 45.09 kB / 0.8242 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008671, allocations: 0 / 0.8242 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.008673, allocations: 0 / 0.8242 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.009088, allocations: 0.7139 MB / 0.8249 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.009382, allocations: 261.4 kB / 0.8251 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.009419, allocations: 64.75 kB / 0.8252 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.009435, allocations: 0 / 0.8252 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.00945, allocations: 12.5 kB / 0.8252 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.00945, allocations: 0.9688 kB / 0.8252 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of Templates: time 0.003561/0.01301, allocations: 1.628 MB / 0.8268 GB, free: 1.688 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: 5.061088843736798]