Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001515/0.001515, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001678/0.001678, allocations: 157.6 kB / 22.75 MB, free: 1.68 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 1.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.273/3.273, allocations: 429.6 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.174e-05, allocations: 4.625 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003237/0.003268, allocations: 1.488 MB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005088, allocations: 0.861 MB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.005184, allocations: 7.938 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.005436, allocations: 43.77 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.005479, allocations: 8.953 kB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.00615, allocations: 201.5 kB / 0.8802 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.006279, allocations: 48.8 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.006322, allocations: 7.984 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.006449, allocations: 31.92 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.911e-05/0.006478, allocations: 8.859 kB / 0.8803 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.006496, allocations: 4 kB / 0.8803 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.007023, allocations: 168.2 kB / 0.8804 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.007047, allocations: 13.77 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.007081, allocations: 4 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.007393, allocations: 151.6 kB / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.007397, allocations: 0 / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007398, allocations: 0 / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.007402, allocations: 1.281 kB / 0.8806 GB, free: 3.465 MB / 0.8386 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.0004591/0.007861, allocations: 301.9 kB / 0.8809 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.007903, allocations: 8.031 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.007987, allocations: 85.27 kB / 0.881 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.008365, allocations: 204.9 kB / 0.8812 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.008461, allocations: 159.5 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/0.008549, allocations: 154.9 kB / 0.8815 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.008637, allocations: 103.1 kB / 0.8816 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/0.008686, allocations: 75.47 kB / 0.8816 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.008785, allocations: 162.9 kB / 0.8818 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.565e-05/0.008871, allocations: 154.5 kB / 0.8819 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.008955, allocations: 153.2 kB / 0.8821 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.009332, allocations: 417.5 kB / 0.8825 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.009456, allocations: 169.1 kB / 0.8826 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.00951, allocations: 84.08 kB / 0.8827 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.009558, allocations: 75.28 kB / 0.8828 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/0.009628, allocations: 105.8 kB / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.009629, allocations: 0 / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001109/0.00974, allocations: 39.47 kB / 0.8829 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.009829, allocations: 130.6 kB / 0.883 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01001, allocations: 137.8 kB / 0.8832 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.01003, allocations: 25.7 kB / 0.8832 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.01011, allocations: 92.14 kB / 0.8833 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.01011, allocations: 0.7188 kB / 0.8833 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.01015, allocations: 13.72 kB / 0.8833 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.01034, allocations: 320.5 kB / 0.8836 GB, free: 200 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.01036, allocations: 4 kB / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.01038, allocations: 8 kB / 0.8836 GB, free: 188 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.01041, allocations: 8.859 kB / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01042, allocations: 0.5938 kB / 0.8836 GB, free: 176 kB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.01057, allocations: 53.58 kB / 0.8837 GB, free: 116 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.01059, allocations: 11.12 kB / 0.8837 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.01061, allocations: 0 / 0.8837 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.01063, allocations: 4.062 kB / 0.8837 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-06/0.01064, allocations: 3.938 kB / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01064, allocations: 0 / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.01067, allocations: 4 kB / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.01067, allocations: 0 / 0.8837 GB, free: 96 kB / 0.8386 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.0001466/0.01082, allocations: 185.1 kB / 0.8839 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.01091, allocations: 112.9 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.01098, allocations: 112.7 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.319e-05/0.01107, allocations: 176.3 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001089/0.01118, allocations: 192.2 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.696e-05/0.01128, allocations: 184.2 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.01158, allocations: 364.9 kB / 0.885 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.046e-05/0.01165, allocations: 104.9 kB / 0.8851 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.0117, allocations: 101 kB / 0.8852 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.01181, allocations: 184.2 kB / 0.8853 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.01191, allocations: 180.2 kB / 0.8855 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.856e-05/0.012, allocations: 180.3 kB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-05/0.0121, allocations: 188.1 kB / 0.8859 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.0123, allocations: 307.7 kB / 0.8862 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.01237, allocations: 112.9 kB / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.0125, allocations: 192.2 kB / 0.8865 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.0126, allocations: 105.3 kB / 0.8866 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.01271, allocations: 180.2 kB / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.01277, allocations: 108.9 kB / 0.8868 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.508e-05/0.01286, allocations: 103.2 kB / 0.8869 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01286, allocations: 0 / 0.8869 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002961/0.01316, allocations: 35.88 kB / 0.887 GB, free: 12.57 MB / 0.8542 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.0003786/0.01354, allocations: 218.3 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.01365, allocations: 37.75 kB / 0.8872 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01365, allocations: 0 / 0.8872 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.01366, allocations: 12.06 kB / 0.8872 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.01419, allocations: 471.5 kB / 0.8877 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.01459, allocations: 214.3 kB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.434e-05/0.01468, allocations: 75.23 kB / 0.8879 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.0147, allocations: 3.984 kB / 0.8879 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.01473, allocations: 12.5 kB / 0.888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.01473, allocations: 4 kB / 0.888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.005536/0.02027, allocations: 1.596 MB / 0.8895 GB, free: 9.934 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.450834422023036]