Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.001468/0.001468, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001178/0.001178, allocations: 173 kB / 23.36 MB, free: 1.133 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.9126/0.9126, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.412/2.412, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88001,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88001,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.49e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002766/0.002781, allocations: 2.435 MB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003974, allocations: 1.047 MB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.004058, allocations: 11.88 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.004239, allocations: 55.61 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.004372, allocations: 95.22 kB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.004729, allocations: 155.4 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.004955, allocations: 298.6 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.005043, allocations: 26.55 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.005219, allocations: 175.5 kB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.005586, allocations: 87.7 kB / 0.8429 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.005611, allocations: 16 kB / 0.8429 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.005893, allocations: 119.8 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.005929, allocations: 43.83 kB / 0.8431 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.953e-05/0.005999, allocations: 79.75 kB / 0.8432 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.00626, allocations: 251.1 kB / 0.8434 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006262, allocations: 0 / 0.8434 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006263, allocations: 0 / 0.8434 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.006267, allocations: 4 kB / 0.8434 GB, free: 9.262 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005859/0.006853, allocations: 0.4978 MB / 0.8439 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.006886, allocations: 8.625 kB / 0.8439 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.006936, allocations: 32.91 kB / 0.8439 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.007154, allocations: 204.8 kB / 0.8441 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.007169, allocations: 16.61 kB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.007202, allocations: 28.34 kB / 0.8442 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.007393, allocations: 173.6 kB / 0.8443 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.007405, allocations: 12.08 kB / 0.8443 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.007418, allocations: 12.36 kB / 0.8444 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.007424, allocations: 7.938 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.007483, allocations: 39.89 kB / 0.8444 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.007969, allocations: 0.6532 MB / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.008108, allocations: 123.6 kB / 0.8452 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.008149, allocations: 38.69 kB / 0.8452 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.008157, allocations: 4 kB / 0.8452 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.008309, allocations: 161.5 kB / 0.8454 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.203e-06/0.00831, allocations: 0 / 0.8454 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002089/0.008519, allocations: 153.5 kB / 0.8455 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.008571, allocations: 118.8 kB / 0.8456 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.00869, allocations: 225 kB / 0.8458 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.00871, allocations: 41.69 kB / 0.8459 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.008761, allocations: 129 kB / 0.846 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.008798, allocations: 75.44 kB / 0.8461 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.008859, allocations: 74.02 kB / 0.8461 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.008931, allocations: 338.8 kB / 0.8465 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.00898, allocations: 58.56 kB / 0.8465 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.009091, allocations: 233.3 kB / 0.8467 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.009273, allocations: 300.4 kB / 0.847 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.009276, allocations: 7.938 kB / 0.847 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002255/0.009501, allocations: 296.3 kB / 0.8473 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.00953, allocations: 38.5 kB / 0.8473 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.009538, allocations: 8 kB / 0.8474 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.00955, allocations: 12 kB / 0.8474 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.0097, allocations: 87.83 kB / 0.8474 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.009707, allocations: 8 kB / 0.8475 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.009816, allocations: 39.77 kB / 0.8475 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.009831, allocations: 20 kB / 0.8475 GB, free: 4.602 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.281e-05/0.009914, allocations: 156.2 kB / 0.8477 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.009939, allocations: 23.97 kB / 0.8477 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.009971, allocations: 33.7 kB / 0.8477 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.009974, allocations: 4 kB / 0.8477 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.009977, allocations: 3.984 kB / 0.8477 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00998, allocations: 0 / 0.8477 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.0101, allocations: 130 kB / 0.8478 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01011, allocations: 4 kB / 0.8479 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.01016, allocations: 19.92 kB / 0.8479 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01016, allocations: 3.938 kB / 0.8479 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01017, allocations: 7.984 kB / 0.8479 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01017, allocations: 4 kB / 0.8479 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01018, allocations: 4 kB / 0.8479 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.01037, allocations: 198.5 kB / 0.8481 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.0104, allocations: 31.78 kB / 0.8481 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01042, allocations: 4 kB / 0.8481 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.01049, allocations: 15.98 kB / 0.8481 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.01053, allocations: 23.95 kB / 0.8482 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.01054, allocations: 4 kB / 0.8482 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.01059, allocations: 74.77 kB / 0.8482 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 0.8482 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002209/0.01081, allocations: 87.83 kB / 0.8483 GB, free: 3.727 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002062/0.01101, allocations: 164.2 kB / 0.8485 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.0112, allocations: 235.9 kB / 0.8487 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.01121, allocations: 4 kB / 0.8487 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.01127, allocations: 63.7 kB / 0.8488 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01145, allocations: 73.58 kB / 0.8488 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.01214, allocations: 487.3 kB / 0.8493 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.01218, allocations: 76.64 kB / 0.8494 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.579e-05/0.01227, allocations: 55.06 kB / 0.8494 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.01263, allocations: 115.3 kB / 0.8495 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.01263, allocations: 4 kB / 0.8495 GB, free: 2.395 MB / 0.8073 GB Notification: Performance of Templates: time 0.006495/0.01912, allocations: 4.597 MB / 0.854 GB, free: 13.93 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.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: 6.130599656142294]