Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.002777/0.002777, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.003079/0.003079, allocations: 165.3 kB / 23.56 MB, free: 0.8711 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.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.097e-05/4.365e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006968/0.007012, allocations: 4.23 MB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.01186, allocations: 2.4 MB / 0.8173 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.01221, allocations: 12 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.01404, allocations: 0.5153 MB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.0146, allocations: 253 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.01488, allocations: 150.1 kB / 0.8182 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.01597, allocations: 0.8366 MB / 0.8191 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.01642, allocations: 219 kB / 0.8193 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.0172, allocations: 463 kB / 0.8197 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.01763, allocations: 255.2 kB / 0.82 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.01774, allocations: 76 kB / 0.82 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.01788, allocations: 75.44 kB / 0.8201 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.01809, allocations: 171.4 kB / 0.8203 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.01844, allocations: 271.4 kB / 0.8205 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.01969, allocations: 0.993 MB / 0.8215 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01969, allocations: 0 / 0.8215 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01969, allocations: 4 kB / 0.8215 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.01971, allocations: 0 / 0.8215 GB, free: 7.156 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001927/0.02164, allocations: 1.056 MB / 0.8225 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.02168, allocations: 8.031 kB / 0.8225 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.0219, allocations: 116.5 kB / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.02261, allocations: 399.4 kB / 0.823 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.02265, allocations: 37.97 kB / 0.8231 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.02274, allocations: 49.03 kB / 0.8231 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.02356, allocations: 411 kB / 0.8235 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.02358, allocations: 5.297 kB / 0.8235 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.02363, allocations: 20.38 kB / 0.8235 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.02364, allocations: 15.94 kB / 0.8235 GB, free: 5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.0244, allocations: 347.8 kB / 0.8239 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.02733, allocations: 1.556 MB / 0.8254 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.02794, allocations: 325 kB / 0.8257 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.02847, allocations: 277.2 kB / 0.826 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.0285, allocations: 9.094 kB / 0.826 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.02855, allocations: 42.08 kB / 0.826 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.02855, allocations: 1.125 kB / 0.826 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.001024/0.02958, allocations: 488.6 kB / 0.8265 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.02964, allocations: 60.28 kB / 0.8265 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.03038, allocations: 0.5456 MB / 0.8271 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.03042, allocations: 37.64 kB / 0.8271 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.03075, allocations: 358.7 kB / 0.8275 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.03094, allocations: 170.6 kB / 0.8276 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.03109, allocations: 75.73 kB / 0.8277 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003924/0.03148, allocations: 0.5704 MB / 0.8282 GB, free: 52 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.03175, allocations: 112.8 kB / 0.8284 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.032, allocations: 113.2 kB / 0.8285 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.03256, allocations: 309 kB / 0.8288 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.03256, allocations: 0 / 0.8288 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007423/0.0333, allocations: 385.2 kB / 0.8291 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.03333, allocations: 11.25 kB / 0.8291 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.03333, allocations: 1.625 kB / 0.8291 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.03335, allocations: 0.7656 kB / 0.8291 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.0339, allocations: 131.7 kB / 0.8293 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.03392, allocations: 4.5 kB / 0.8293 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.03412, allocations: 27.78 kB / 0.8293 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.03415, allocations: 12 kB / 0.8293 GB, free: 14.96 MB / 0.7917 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002747/0.03442, allocations: 228.5 kB / 0.8295 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.03453, allocations: 59.67 kB / 0.8296 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.03468, allocations: 64.73 kB / 0.8296 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.03469, allocations: 4 kB / 0.8296 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.0347, allocations: 3.938 kB / 0.8296 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.0347, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.03555, allocations: 0.547 MB / 0.8302 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.03555, allocations: 0 / 0.8302 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.03612, allocations: 131.9 kB / 0.8303 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.03612, allocations: 0 / 0.8303 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.03615, allocations: 8 kB / 0.8303 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.03615, allocations: 0 / 0.8303 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03615, allocations: 0 / 0.8303 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.03728, allocations: 0.6993 MB / 0.831 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.03739, allocations: 55.58 kB / 0.8311 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.03745, allocations: 12 kB / 0.8311 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.03792, allocations: 12 kB / 0.8311 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.038, allocations: 27.94 kB / 0.8311 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.03802, allocations: 11.98 kB / 0.8311 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004605/0.03848, allocations: 363 kB / 0.8315 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.03848, allocations: 0 / 0.8315 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000449/0.03893, allocations: 143.7 kB / 0.8316 GB, free: 12.55 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001897/0.03912, allocations: 129.5 kB / 0.8317 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006523/0.03978, allocations: 315.4 kB / 0.832 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03978, allocations: 4 kB / 0.832 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.0401, allocations: 187.4 kB / 0.8322 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.04072, allocations: 103.2 kB / 0.8323 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.04283, allocations: 1.099 MB / 0.8334 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.04316, allocations: 259.2 kB / 0.8336 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.04333, allocations: 47.38 kB / 0.8337 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.04344, allocations: 36.5 kB / 0.8337 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of SimCode: time 6.61e-07/0.04344, allocations: 0 / 0.8337 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of Templates: time 0.01284/0.05628, allocations: 4.992 MB / 0.8386 GB, free: 5.48 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.712610909016803]