Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001601/0.001601, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001713/0.001713, allocations: 166 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.807/2.807, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.67e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.004781/0.004818, allocations: 1.48 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.007284, allocations: 0.861 MB / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.00741, allocations: 7.938 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.007702, allocations: 43.77 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.007766, allocations: 19.8 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.008682, allocations: 187.8 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.008838, allocations: 55.67 kB / 0.9536 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.9e-05/0.008897, allocations: 7.984 kB / 0.9536 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.009043, allocations: 27.91 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.009087, allocations: 11.94 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.009109, allocations: 4 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.009812, allocations: 167.7 kB / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.00983, allocations: 8 kB / 0.9538 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.009868, allocations: 11.94 kB / 0.9538 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.01029, allocations: 151.6 kB / 0.954 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.0103, allocations: 4 kB / 0.954 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.52e-07/0.0103, allocations: 4 kB / 0.954 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.0103, allocations: 3.938 kB / 0.954 GB, free: 8.504 MB / 0.8575 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.0005456/0.01085, allocations: 293.9 kB / 0.9542 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.0109, allocations: 8.031 kB / 0.9543 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/0.011, allocations: 88.16 kB / 0.9543 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.01136, allocations: 201 kB / 0.9545 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.01147, allocations: 150.9 kB / 0.9547 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.01158, allocations: 154.9 kB / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.01169, allocations: 105.5 kB / 0.9549 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.01174, allocations: 75.47 kB / 0.955 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.01184, allocations: 154.9 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.01195, allocations: 154.5 kB / 0.9553 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.01204, allocations: 154.6 kB / 0.9554 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.01248, allocations: 409.6 kB / 0.9558 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.01263, allocations: 173.1 kB / 0.956 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.01269, allocations: 84.14 kB / 0.9561 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.01273, allocations: 79.28 kB / 0.9561 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.808e-05/0.01281, allocations: 109.8 kB / 0.9563 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.01281, allocations: 3.938 kB / 0.9563 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001476/0.01296, allocations: 33.66 kB / 0.9563 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.01306, allocations: 138.6 kB / 0.9564 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.01328, allocations: 136.3 kB / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.01331, allocations: 25.7 kB / 0.9566 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.01339, allocations: 92.11 kB / 0.9567 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.01339, allocations: 0 / 0.9567 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.01345, allocations: 17.72 kB / 0.9567 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.01363, allocations: 322.8 kB / 0.957 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.01367, allocations: 4 kB / 0.957 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.01369, allocations: 0 / 0.957 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.01374, allocations: 16.86 kB / 0.957 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01374, allocations: 32 / 0.957 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001767/0.01392, allocations: 53.64 kB / 0.9571 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01394, allocations: 4 kB / 0.9571 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.01396, allocations: 7.938 kB / 0.9571 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01398, allocations: 0 / 0.9571 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-06/0.01398, allocations: 7.875 kB / 0.9571 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01399, allocations: 0 / 0.9571 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.01402, allocations: 0 / 0.9571 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.01403, allocations: 0 / 0.9571 GB, free: 5.133 MB / 0.8575 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 0.0001505/0.01418, allocations: 185.1 kB / 0.9573 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.01429, allocations: 108.9 kB / 0.9574 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/0.01438, allocations: 120.8 kB / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/0.0145, allocations: 184.3 kB / 0.9576 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/0.01461, allocations: 180.2 kB / 0.9578 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/0.01473, allocations: 180.2 kB / 0.958 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.0151, allocations: 368.8 kB / 0.9583 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.152e-05/0.01517, allocations: 108.9 kB / 0.9584 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.01523, allocations: 101 kB / 0.9585 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.01535, allocations: 176.3 kB / 0.9587 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.01547, allocations: 188.2 kB / 0.9589 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001212/0.01559, allocations: 176.3 kB / 0.9591 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001062/0.0157, allocations: 188.2 kB / 0.9592 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.01595, allocations: 311.7 kB / 0.9595 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.01604, allocations: 112.9 kB / 0.9596 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.01617, allocations: 180.2 kB / 0.9598 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01632, allocations: 104.9 kB / 0.9599 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.01647, allocations: 188.2 kB / 0.9601 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.01655, allocations: 105.3 kB / 0.9602 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001135/0.01667, allocations: 95.27 kB / 0.9603 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.01667, allocations: 7.938 kB / 0.9603 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005206/0.01719, allocations: 39.8 kB / 0.9603 GB, free: 1.613 MB / 0.8575 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.0004977/0.01769, allocations: 230.3 kB / 0.9606 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01781, allocations: 33.7 kB / 0.9606 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01782, allocations: 0 / 0.9606 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.01782, allocations: 0 / 0.9606 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.01857, allocations: 463.6 kB / 0.961 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.0191, allocations: 221.8 kB / 0.9612 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01921, allocations: 67.41 kB / 0.9613 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.01924, allocations: 7.938 kB / 0.9613 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.01926, allocations: 8.5 kB / 0.9613 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.01926, allocations: 0 / 0.9613 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of Templates: time 0.008269/0.02753, allocations: 1.589 MB / 0.9629 GB, free: 14.98 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.14378023520112]