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.001952/0.001952, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002731/0.002731, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.32 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 2.964/2.964, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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 1.914e-06/1.914e-06, allocations: 0.875 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.308e-05, allocations: 5.406 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006956/0.006989, allocations: 3.813 MB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.01171, allocations: 2.229 MB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.01235, allocations: 12 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.01459, allocations: 0.5158 MB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.01554, allocations: 257.1 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.01597, allocations: 143.8 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.01738, allocations: 0.8405 MB / 0.8185 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.0179, allocations: 214.3 kB / 0.8187 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009834/0.01888, allocations: 467 kB / 0.8191 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.0194, allocations: 239.3 kB / 0.8194 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.01957, allocations: 72 kB / 0.8194 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.01977, allocations: 76 kB / 0.8195 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.01999, allocations: 175.3 kB / 0.8197 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004812/0.02047, allocations: 267.4 kB / 0.8199 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.02192, allocations: 0.9891 MB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.02192, allocations: 0 / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.703e-06/0.02192, allocations: 1.031 kB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.412e-05/0.02196, allocations: 0 / 0.8209 GB, free: 7.758 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.002192/0.02415, allocations: 0.8903 MB / 0.8218 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.02421, allocations: 8.562 kB / 0.8218 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.02448, allocations: 117.5 kB / 0.8219 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.02539, allocations: 408.5 kB / 0.8223 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.02545, allocations: 33.38 kB / 0.8223 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.02555, allocations: 48.38 kB / 0.8224 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.02654, allocations: 424.1 kB / 0.8228 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.02656, allocations: 8.141 kB / 0.8228 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.02661, allocations: 21.5 kB / 0.8228 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.02664, allocations: 19.94 kB / 0.8228 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.02751, allocations: 364.9 kB / 0.8232 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.03001, allocations: 1.188 MB / 0.8243 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.03063, allocations: 307.4 kB / 0.8246 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.03122, allocations: 286.5 kB / 0.8249 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.03125, allocations: 8.594 kB / 0.8249 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.0313, allocations: 38.56 kB / 0.8249 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 3.206e-06/0.0313, allocations: 1.5 kB / 0.8249 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.001244/0.03255, allocations: 0.5028 MB / 0.8254 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.03261, allocations: 59.34 kB / 0.8255 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006705/0.03328, allocations: 438 kB / 0.8259 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.03333, allocations: 33.7 kB / 0.8259 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.0336, allocations: 284.5 kB / 0.8262 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.03378, allocations: 154.6 kB / 0.8263 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.03391, allocations: 62.84 kB / 0.8264 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.03414, allocations: 358.8 kB / 0.8267 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.03444, allocations: 120.7 kB / 0.8269 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.03472, allocations: 129.2 kB / 0.827 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.03545, allocations: 294.2 kB / 0.8273 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.03545, allocations: 0 / 0.8273 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008057/0.03626, allocations: 412.5 kB / 0.8277 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.03627, allocations: 7.938 kB / 0.8277 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.03628, allocations: 0 / 0.8277 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/0.03631, allocations: 4 kB / 0.8277 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.03687, allocations: 127.8 kB / 0.8278 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.03688, allocations: 0 / 0.8278 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.03712, allocations: 23.84 kB / 0.8278 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.03714, allocations: 16 kB / 0.8278 GB, free: 0.4961 MB / 0.7761 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.0002827/0.03743, allocations: 197.8 kB / 0.828 GB, free: 300 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.03754, allocations: 59.67 kB / 0.8281 GB, free: 240 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.03767, allocations: 60.8 kB / 0.8281 GB, free: 176 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.03768, allocations: 4 kB / 0.8281 GB, free: 172 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.03769, allocations: 7.938 kB / 0.8281 GB, free: 164 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.0377, allocations: 0 / 0.8281 GB, free: 164 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.0384, allocations: 412.9 kB / 0.8285 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.03841, allocations: 0 / 0.8285 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.03899, allocations: 131.8 kB / 0.8287 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.039, allocations: 4 kB / 0.8287 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.03903, allocations: 8 kB / 0.8287 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.03903, allocations: 4 kB / 0.8287 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03903, allocations: 0 / 0.8287 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.04023, allocations: 0.6599 MB / 0.8293 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.04035, allocations: 59.64 kB / 0.8294 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.04041, allocations: 8 kB / 0.8294 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.04063, allocations: 15.98 kB / 0.8294 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.04072, allocations: 31.89 kB / 0.8294 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.04074, allocations: 8 kB / 0.8294 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004318/0.04117, allocations: 323.1 kB / 0.8297 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.04117, allocations: 0 / 0.8297 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004771/0.04165, allocations: 143.7 kB / 0.8299 GB, free: 14.34 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.0001956/0.04185, allocations: 119.2 kB / 0.83 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.04252, allocations: 303.9 kB / 0.8303 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.04252, allocations: 0 / 0.8303 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.04284, allocations: 167.8 kB / 0.8305 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.0435, allocations: 106.2 kB / 0.8306 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.04559, allocations: 1.101 MB / 0.8316 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.04592, allocations: 279 kB / 0.8319 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.0461, allocations: 39.39 kB / 0.8319 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.04622, allocations: 36.5 kB / 0.832 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of SimCode: time 6.11e-07/0.04622, allocations: 0 / 0.832 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of Templates: time 0.01199/0.05821, allocations: 4.998 MB / 0.8368 GB, free: 7.289 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] 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.42614156100899]