Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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: 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.001577/0.001577, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.776/1.776, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.474e-05, allocations: 3.859 kB / 0.8129 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003533/0.003548, allocations: 4.158 MB / 0.8169 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.006175, allocations: 2.387 MB / 0.8192 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.006403, allocations: 12 kB / 0.8193 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.007517, allocations: 0.5192 MB / 0.8198 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.00782, allocations: 261.2 kB / 0.82 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.007966, allocations: 127.9 kB / 0.8201 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.008498, allocations: 0.8465 MB / 0.821 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.008758, allocations: 219 kB / 0.8212 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.009149, allocations: 467 kB / 0.8216 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.009383, allocations: 251.2 kB / 0.8219 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.678e-05/0.00944, allocations: 76 kB / 0.8219 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.009505, allocations: 74.12 kB / 0.822 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.009613, allocations: 175.4 kB / 0.8222 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.009782, allocations: 267.4 kB / 0.8224 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.01015, allocations: 0.5022 MB / 0.8229 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01016, allocations: 4 kB / 0.8229 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01016, allocations: 0 / 0.8229 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.01016, allocations: 0.5 kB / 0.8229 GB, free: 7.047 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0008507/0.01101, allocations: 1.004 MB / 0.8239 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.01104, allocations: 8.031 kB / 0.8239 GB, free: 6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.01114, allocations: 116.5 kB / 0.824 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.01159, allocations: 378.3 kB / 0.8244 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.01161, allocations: 37.38 kB / 0.8244 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.01166, allocations: 44.38 kB / 0.8245 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.01194, allocations: 281.8 kB / 0.8247 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01196, allocations: 12.14 kB / 0.8247 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.01198, allocations: 20.38 kB / 0.8248 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01199, allocations: 15.94 kB / 0.8248 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.01217, allocations: 154.8 kB / 0.8249 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.0132, allocations: 1.109 MB / 0.826 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.01338, allocations: 189.3 kB / 0.8262 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.01355, allocations: 175.7 kB / 0.8263 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.01356, allocations: 5.562 kB / 0.8264 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.01358, allocations: 41.39 kB / 0.8264 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.01358, allocations: 0 / 0.8264 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.0003203/0.01391, allocations: 293.3 kB / 0.8267 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01393, allocations: 57.09 kB / 0.8267 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.01421, allocations: 470.5 kB / 0.8272 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01423, allocations: 37.64 kB / 0.8272 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.01437, allocations: 351.2 kB / 0.8275 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.01445, allocations: 150.6 kB / 0.8277 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.01452, allocations: 72.2 kB / 0.8278 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.01465, allocations: 0.5482 MB / 0.8283 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.0147, allocations: 44.7 kB / 0.8283 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.01476, allocations: 49.22 kB / 0.8284 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01489, allocations: 144.8 kB / 0.8285 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01489, allocations: 0.625 kB / 0.8285 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002243/0.01512, allocations: 247.1 kB / 0.8288 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.01513, allocations: 7.984 kB / 0.8288 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01513, allocations: 0 / 0.8288 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.01514, allocations: 4 kB / 0.8288 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.0154, allocations: 119.8 kB / 0.8289 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.01541, allocations: 9.969 kB / 0.8289 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.0155, allocations: 35.77 kB / 0.8289 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01551, allocations: 4 kB / 0.8289 GB, free: 0.6953 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 (46): * Single equations (assignments): 46 * 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 9.857e-05/0.01561, allocations: 172.5 kB / 0.8291 GB, free: 0.5156 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.01566, allocations: 63.67 kB / 0.8292 GB, free: 464 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.01572, allocations: 60.8 kB / 0.8292 GB, free: 404 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01572, allocations: 4 kB / 0.8292 GB, free: 400 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01572, allocations: 0 / 0.8292 GB, free: 400 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01573, allocations: 7.922 kB / 0.8292 GB, free: 392 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.01602, allocations: 344.8 kB / 0.8296 GB, free: 20 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01602, allocations: 0 / 0.8296 GB, free: 20 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.01629, allocations: 123.9 kB / 0.8297 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01629, allocations: 0 / 0.8297 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.01631, allocations: 16 kB / 0.8297 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01631, allocations: 0 / 0.8297 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01631, allocations: 0 / 0.8297 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.01666, allocations: 480.1 kB / 0.8301 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.01671, allocations: 55.58 kB / 0.8302 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.01674, allocations: 15.98 kB / 0.8302 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.01684, allocations: 12 kB / 0.8302 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.01688, allocations: 23.95 kB / 0.8302 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.01689, allocations: 8 kB / 0.8303 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001502/0.01704, allocations: 291 kB / 0.8305 GB, free: 15 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01704, allocations: 0 / 0.8305 GB, free: 15 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002414/0.01728, allocations: 155.6 kB / 0.8307 GB, free: 14.85 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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 8.535e-05/0.01737, allocations: 115.1 kB / 0.8308 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.01755, allocations: 175.4 kB / 0.831 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01756, allocations: 0 / 0.831 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.01777, allocations: 115.4 kB / 0.8311 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.01812, allocations: 105.7 kB / 0.8312 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.01923, allocations: 1.013 MB / 0.8322 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.037e-05/0.0193, allocations: 125.8 kB / 0.8323 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.0194, allocations: 39.39 kB / 0.8323 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.01958, allocations: 166.1 kB / 0.8325 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of SimCode: time 8.31e-07/0.01958, allocations: 0 / 0.8325 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.007638/0.02721, allocations: 5.553 MB / 0.8379 GB, free: 7.551 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.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.770396602805704]