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.001043/0.001043, 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.0009057/0.0009057, 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.8904/0.8904, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.247/2.247, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.669e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.004066/0.004093, allocations: 2.385 MB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.005947, allocations: 1.067 MB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.00607, allocations: 7.938 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.006312, allocations: 43.64 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.006505, allocations: 87.2 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.006997, allocations: 167.4 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.0073, allocations: 302.6 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.007409, allocations: 26.53 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.007659, allocations: 175.5 kB / 0.8428 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.007795, allocations: 79.72 kB / 0.8428 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.00783, allocations: 16 kB / 0.8428 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.008179, allocations: 115.8 kB / 0.843 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.008229, allocations: 47.81 kB / 0.843 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.008319, allocations: 75.77 kB / 0.8431 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.008689, allocations: 251.1 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.008694, allocations: 0 / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.452e-06/0.008695, allocations: 4 kB / 0.8433 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.008701, allocations: 4 kB / 0.8433 GB, free: 9.297 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.0007744/0.009475, allocations: 0.4939 MB / 0.8438 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.009529, allocations: 8.625 kB / 0.8438 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.0096, allocations: 32.91 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.009906, allocations: 208.8 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.009926, allocations: 12.61 kB / 0.8441 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.00997, allocations: 24.36 kB / 0.8441 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.01024, allocations: 181.5 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01026, allocations: 8.141 kB / 0.8443 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.01028, allocations: 384 / 0.8443 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.01029, allocations: 7.938 kB / 0.8443 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.01038, allocations: 43.89 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.01108, allocations: 0.6571 MB / 0.8449 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.01128, allocations: 123.6 kB / 0.8451 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.01134, allocations: 34.69 kB / 0.8451 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.01135, allocations: 4 kB / 0.8451 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.01158, allocations: 165.5 kB / 0.8453 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.01158, allocations: 0 / 0.8453 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002796/0.01186, allocations: 153.4 kB / 0.8454 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.01192, allocations: 126.7 kB / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.01209, allocations: 225 kB / 0.8457 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.01212, allocations: 41.7 kB / 0.8458 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.01218, allocations: 129 kB / 0.8459 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.01224, allocations: 71.44 kB / 0.846 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.01233, allocations: 74.02 kB / 0.846 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.01243, allocations: 342.8 kB / 0.8464 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.0125, allocations: 54.56 kB / 0.8464 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.01267, allocations: 233.2 kB / 0.8466 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.01293, allocations: 304.5 kB / 0.8469 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.01294, allocations: 8.188 kB / 0.8469 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003426/0.01328, allocations: 305 kB / 0.8472 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.01331, allocations: 33.7 kB / 0.8473 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.01333, allocations: 12 kB / 0.8473 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01334, allocations: 8 kB / 0.8473 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.01356, allocations: 83.83 kB / 0.8474 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.01357, allocations: 11.94 kB / 0.8474 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.01375, allocations: 35.83 kB / 0.8474 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.01377, allocations: 20 kB / 0.8474 GB, free: 4.637 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 0.000114/0.01389, allocations: 156.4 kB / 0.8476 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.01393, allocations: 23.91 kB / 0.8476 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.01398, allocations: 29.77 kB / 0.8476 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01398, allocations: 4 kB / 0.8476 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01399, allocations: 3.938 kB / 0.8476 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01399, allocations: 0 / 0.8476 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01418, allocations: 129.7 kB / 0.8478 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01418, allocations: 0 / 0.8478 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.01425, allocations: 23.98 kB / 0.8478 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01425, allocations: 3.938 kB / 0.8478 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.01427, allocations: 7.984 kB / 0.8478 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01427, allocations: 0 / 0.8478 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.01428, allocations: 4 kB / 0.8478 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.01457, allocations: 198.5 kB / 0.848 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.0146, allocations: 23.8 kB / 0.848 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.01464, allocations: 8 kB / 0.848 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.01474, allocations: 15.98 kB / 0.848 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.01479, allocations: 19.95 kB / 0.8481 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.0148, allocations: 12 kB / 0.8481 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.221e-05/0.01488, allocations: 74.77 kB / 0.8481 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01488, allocations: 0 / 0.8481 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003725/0.01525, allocations: 83.83 kB / 0.8482 GB, free: 3.773 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.0003309/0.01558, allocations: 169.2 kB / 0.8484 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.01585, allocations: 234.7 kB / 0.8486 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01585, allocations: 1.625 kB / 0.8486 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.01594, allocations: 61.31 kB / 0.8487 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.0162, allocations: 72.64 kB / 0.8487 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.0172, allocations: 487.3 kB / 0.8492 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.01725, allocations: 80.64 kB / 0.8493 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.01737, allocations: 63 kB / 0.8493 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.01753, allocations: 107.3 kB / 0.8494 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.01753, allocations: 0 / 0.8494 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of Templates: time 0.008586/0.02612, allocations: 4.595 MB / 0.8539 GB, free: 13.98 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 -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: 5.720665721222758]