Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.245/3.245, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.36 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.407, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005123/0.4121, allocations: 3.072 MB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.4154, allocations: 2.156 MB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.4157, allocations: 4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.4174, allocations: 0.5133 MB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.4177, allocations: 150.8 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.4179, allocations: 63.94 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.4184, allocations: 445.2 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.4187, allocations: 107.8 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.4189, allocations: 155.4 kB / 1.313 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.4192, allocations: 183.2 kB / 1.313 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.4193, allocations: 36 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.4193, allocations: 32 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.4195, allocations: 99.61 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.4197, allocations: 215 kB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.4204, allocations: 0.5486 MB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4204, allocations: 0 / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4204, allocations: 7.938 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4204, allocations: 0 / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001234/0.4217, allocations: 0.6329 MB / 1.315 GB, free: 9.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4217, allocations: 12.03 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.4218, allocations: 48.59 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.4224, allocations: 316.6 kB / 1.315 GB, free: 8.977 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4224, allocations: 12.81 kB / 1.315 GB, free: 8.965 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.4225, allocations: 28.31 kB / 1.315 GB, free: 8.938 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.4229, allocations: 203.6 kB / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.423, allocations: 0 / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.423, allocations: 12 kB / 1.316 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.423, allocations: 7.938 kB / 1.316 GB, free: 8.711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.4234, allocations: 161.7 kB / 1.316 GB, free: 8.551 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.4248, allocations: 0.82 MB / 1.317 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.4251, allocations: 150.5 kB / 1.317 GB, free: 7.508 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.4253, allocations: 98.06 kB / 1.317 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.4254, allocations: 4.312 kB / 1.317 GB, free: 7.406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4254, allocations: 30.56 kB / 1.317 GB, free: 7.367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.4254, allocations: 4 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.000657/0.4261, allocations: 258.9 kB / 1.317 GB, free: 7.105 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.4261, allocations: 55.34 kB / 1.317 GB, free: 7.039 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.4266, allocations: 417.7 kB / 1.318 GB, free: 6.621 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4267, allocations: 29.7 kB / 1.318 GB, free: 6.586 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.4268, allocations: 204.4 kB / 1.318 GB, free: 6.383 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.4269, allocations: 75.41 kB / 1.318 GB, free: 6.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.427, allocations: 33.72 kB / 1.318 GB, free: 6.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4272, allocations: 350.7 kB / 1.318 GB, free: 5.918 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.4273, allocations: 51.97 kB / 1.318 GB, free: 5.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.4275, allocations: 63.95 kB / 1.318 GB, free: 5.805 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.4278, allocations: 131.1 kB / 1.318 GB, free: 5.676 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4278, allocations: 4 kB / 1.318 GB, free: 5.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004317/0.4283, allocations: 209.3 kB / 1.319 GB, free: 5.461 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4283, allocations: 4 kB / 1.319 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4283, allocations: 0 / 1.319 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4283, allocations: 7.938 kB / 1.319 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.4286, allocations: 55.95 kB / 1.319 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4286, allocations: 3.938 kB / 1.319 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4287, allocations: 19.89 kB / 1.319 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4287, allocations: 8 kB / 1.319 GB, free: 5.363 MB / 1.014 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 (20): * Single equations (assignments): 20 * 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.0002019/0.4289, allocations: 169.7 kB / 1.319 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.429, allocations: 35.77 kB / 1.319 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.862e-05/0.4291, allocations: 47.45 kB / 1.319 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4291, allocations: 0 / 1.319 GB, free: 5.102 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4291, allocations: 4 kB / 1.319 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4291, allocations: 4 kB / 1.319 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.4296, allocations: 344.4 kB / 1.319 GB, free: 4.715 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4296, allocations: 4 kB / 1.319 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.4299, allocations: 51.95 kB / 1.319 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.4299, allocations: 0 / 1.319 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4299, allocations: 11.94 kB / 1.319 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4299, allocations: 0 / 1.319 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4299, allocations: 3.938 kB / 1.319 GB, free: 4.645 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.4306, allocations: 382.7 kB / 1.32 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.4306, allocations: 43.69 kB / 1.32 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.4307, allocations: 7.938 kB / 1.32 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4309, allocations: 11.98 kB / 1.32 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.4309, allocations: 11.97 kB / 1.32 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4309, allocations: 4 kB / 1.32 GB, free: 4.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003634/0.4313, allocations: 303.2 kB / 1.32 GB, free: 3.891 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4313, allocations: 0 / 1.32 GB, free: 3.891 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003175/0.4316, allocations: 75.95 kB / 1.32 GB, free: 3.816 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001753/0.4318, allocations: 116 kB / 1.32 GB, free: 3.695 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.4322, allocations: 127.9 kB / 1.32 GB, free: 3.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4322, allocations: 0 / 1.32 GB, free: 3.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.4324, allocations: 75.84 kB / 1.32 GB, free: 3.496 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.4329, allocations: 100.7 kB / 1.321 GB, free: 3.398 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.4344, allocations: 0.7579 MB / 1.321 GB, free: 2.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.4349, allocations: 0.799 MB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.435, allocations: 34.94 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.4351, allocations: 27.44 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.4351, allocations: 4 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of Templates: time 0.009934/0.445, allocations: 4.104 MB / 1.326 GB, free: 13.73 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 9.326606336981058]