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.00097/0.00097, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001086/0.001086, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9464/0.9464, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.825/1.825, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.273e-06/1.273e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.171e-05, allocations: 3.156 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001636/0.001648, allocations: 1.548 MB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.002629, allocations: 0.9192 MB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.002683, allocations: 0 / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.002833, allocations: 45.12 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.00286, allocations: 24.55 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.003207, allocations: 189.9 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.724e-05/0.003284, allocations: 52.17 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.865e-05/0.003313, allocations: 4 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.003389, allocations: 32.38 kB / 0.7628 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.133e-05/0.00341, allocations: 12.47 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.003421, allocations: 1.5 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.003685, allocations: 171.8 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.003694, allocations: 0 / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.003711, allocations: 11.94 kB / 0.763 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.003875, allocations: 156.6 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003876, allocations: 0 / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003877, allocations: 0 / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.00388, allocations: 0.75 kB / 0.7631 GB, free: 3.504 MB / 0.7136 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.0002079/0.004087, allocations: 276.5 kB / 0.7634 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.004115, allocations: 8.781 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.004154, allocations: 80.22 kB / 0.7635 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.004277, allocations: 207.4 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.004314, allocations: 153.1 kB / 0.7638 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.00435, allocations: 154.9 kB / 0.7639 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.718e-05/0.004397, allocations: 109.5 kB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.004415, allocations: 75.47 kB / 0.7641 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.004448, allocations: 150.9 kB / 0.7643 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.004488, allocations: 170.5 kB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.004522, allocations: 152.4 kB / 0.7646 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.004663, allocations: 353.3 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.004723, allocations: 169.1 kB / 0.7651 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.004744, allocations: 80.14 kB / 0.7651 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.004763, allocations: 82.47 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.004796, allocations: 105.8 kB / 0.7653 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.004797, allocations: 0 / 0.7653 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.499e-05/0.004842, allocations: 29.7 kB / 0.7654 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.004886, allocations: 134.7 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.004966, allocations: 140.5 kB / 0.7656 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-06/0.004973, allocations: 25.7 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.004999, allocations: 88.12 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.005, allocations: 0 / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.00502, allocations: 20.44 kB / 0.7657 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.005091, allocations: 322.8 kB / 0.7661 GB, free: 348 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.005101, allocations: 4 kB / 0.7661 GB, free: 344 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.005106, allocations: 0 / 0.7661 GB, free: 344 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.014e-05/0.005126, allocations: 8.859 kB / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005128, allocations: 0 / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.422e-05/0.005182, allocations: 37.69 kB / 0.7661 GB, free: 288 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.005191, allocations: 9.344 kB / 0.7661 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.005202, allocations: 0 / 0.7661 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.005212, allocations: 0 / 0.7661 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-06/0.005216, allocations: 0 / 0.7661 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.005219, allocations: 9.438 kB / 0.7661 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.005232, allocations: 7.891 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.005237, allocations: 3.984 kB / 0.7661 GB, free: 260 kB / 0.7136 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 5.658e-05/0.005294, allocations: 190.4 kB / 0.7663 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.005338, allocations: 105 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.005369, allocations: 104.8 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.00541, allocations: 188.2 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-05/0.005446, allocations: 176.8 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/0.005484, allocations: 181 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.005603, allocations: 333.4 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.005622, allocations: 101.6 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.005647, allocations: 112.9 kB / 0.7676 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-05/0.005683, allocations: 176.9 kB / 0.7677 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.005721, allocations: 184.2 kB / 0.7679 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.722e-05/0.005759, allocations: 187.2 kB / 0.7681 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.882e-05/0.005797, allocations: 184.2 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.056e-05/0.005878, allocations: 308 kB / 0.7686 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.005908, allocations: 112.9 kB / 0.7687 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.00595, allocations: 180.3 kB / 0.7688 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.005994, allocations: 104.9 kB / 0.7689 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.006039, allocations: 176.3 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.006062, allocations: 108.1 kB / 0.7692 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.31e-05/0.006085, allocations: 32.81 kB / 0.7692 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006085, allocations: 0 / 0.7692 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001543/0.006239, allocations: 31.88 kB / 0.7693 GB, free: 12.88 MB / 0.7292 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.0001674/0.006407, allocations: 213.5 kB / 0.7695 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.002e-05/0.006457, allocations: 38.56 kB / 0.7695 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006459, allocations: 0 / 0.7695 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.00646, allocations: 1.375 kB / 0.7695 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.006665, allocations: 479.5 kB / 0.77 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.006845, allocations: 223.4 kB / 0.7702 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.689e-05/0.006872, allocations: 59.34 kB / 0.7702 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.45e-05/0.006887, allocations: 1.625 kB / 0.7702 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.006924, allocations: 67.3 kB / 0.7703 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.006924, allocations: 0 / 0.7703 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.002808/0.009733, allocations: 1.814 MB / 0.7721 GB, free: 10.03 MB / 0.7292 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.7874526609666646]