Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.0015/0.0015, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001788/0.001788, allocations: 167.5 kB / 24.86 MB, free: 9.281 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 0.9446/0.9446, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] 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 1.807/1.807, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] 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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.9844 kB / 0.8129 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.283e-05, allocations: 7.188 kB / 0.8129 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002805/0.002838, allocations: 1.487 MB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.007018, allocations: 2.74 MB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.007069, allocations: 0.6562 kB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.007093, allocations: 3.938 kB / 0.817 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.007161, allocations: 20.97 kB / 0.817 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.009934, allocations: 1.607 MB / 0.8186 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.1e-05/0.01001, allocations: 43.67 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.01004, allocations: 4 kB / 0.8186 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.01007, allocations: 15.92 kB / 0.8187 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.97e-05/0.01009, allocations: 15.92 kB / 0.8187 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.0101, allocations: 0 / 0.8187 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.0117, allocations: 1.454 MB / 0.8201 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.01172, allocations: 11.92 kB / 0.8201 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.01174, allocations: 10.03 kB / 0.8201 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.01309, allocations: 1.258 MB / 0.8213 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01309, allocations: 0 / 0.8213 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01309, allocations: 0 / 0.8213 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.0131, allocations: 0 / 0.8213 GB, free: 8.691 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004912/0.01359, allocations: 0.5569 MB / 0.8219 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01362, allocations: 12.97 kB / 0.8219 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.01367, allocations: 120.1 kB / 0.822 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.01377, allocations: 248.8 kB / 0.8223 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/0.01382, allocations: 242.8 kB / 0.8225 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.01387, allocations: 238.8 kB / 0.8227 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.596e-05/0.01393, allocations: 150.5 kB / 0.8229 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.01396, allocations: 123.4 kB / 0.823 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.01401, allocations: 242.5 kB / 0.8232 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.01406, allocations: 239.4 kB / 0.8234 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.01412, allocations: 242.4 kB / 0.8237 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.01432, allocations: 0.5647 MB / 0.8242 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.0144, allocations: 270.2 kB / 0.8245 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.01444, allocations: 130.9 kB / 0.8246 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.01446, allocations: 120.7 kB / 0.8247 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.0145, allocations: 156.6 kB / 0.8249 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.0145, allocations: 0 / 0.8249 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.132e-05/0.01455, allocations: 33.66 kB / 0.8249 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.01461, allocations: 180.3 kB / 0.8251 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.0147, allocations: 196.9 kB / 0.8253 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.01471, allocations: 25.7 kB / 0.8253 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.01475, allocations: 134.9 kB / 0.8254 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.01475, allocations: 1.344 kB / 0.8254 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.01478, allocations: 31.34 kB / 0.8254 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01489, allocations: 492.1 kB / 0.8259 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.0149, allocations: 4 kB / 0.8259 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-06/0.01491, allocations: 0.7188 kB / 0.8259 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.01494, allocations: 19.66 kB / 0.8259 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01494, allocations: 0.6562 kB / 0.8259 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.17e-05/0.01502, allocations: 47.97 kB / 0.826 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.01503, allocations: 8 kB / 0.826 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.01504, allocations: 0 / 0.826 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.01505, allocations: 4 kB / 0.826 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.01505, allocations: 3.938 kB / 0.826 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01505, allocations: 3.938 kB / 0.826 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.01507, allocations: 3.938 kB / 0.826 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.01508, allocations: 5.828 kB / 0.826 GB, free: 3.723 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 (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 7.906e-05/0.01515, allocations: 279.8 kB / 0.8263 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.0152, allocations: 148.8 kB / 0.8264 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.01524, allocations: 156.6 kB / 0.8266 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-05/0.0153, allocations: 264.6 kB / 0.8268 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/0.01536, allocations: 272.1 kB / 0.8271 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.855e-05/0.01541, allocations: 276 kB / 0.8273 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01557, allocations: 492.5 kB / 0.8278 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/0.0156, allocations: 148.8 kB / 0.8279 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.01563, allocations: 144.9 kB / 0.8281 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.463e-05/0.01569, allocations: 268.2 kB / 0.8283 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.01575, allocations: 272 kB / 0.8286 GB, free: 0.9531 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.453e-05/0.0158, allocations: 264.1 kB / 0.8289 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.706e-05/0.01586, allocations: 276 kB / 0.8291 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.01599, allocations: 447.9 kB / 0.8295 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.01603, allocations: 152.8 kB / 0.8297 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.144e-05/0.01609, allocations: 272.1 kB / 0.8299 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.01614, allocations: 152.8 kB / 0.8301 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.0162, allocations: 264.1 kB / 0.8303 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.01624, allocations: 156.8 kB / 0.8305 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.01628, allocations: 143.2 kB / 0.8306 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01628, allocations: 0 / 0.8306 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005068/0.01679, allocations: 291 kB / 0.8309 GB, free: 14.51 MB / 0.7917 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.0007369/0.01753, allocations: 0.625 MB / 0.8315 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.0176, allocations: 41.39 kB / 0.8316 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.0176, allocations: 0 / 0.8316 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.0176, allocations: 0 / 0.8316 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.01791, allocations: 0.7101 MB / 0.8323 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.01812, allocations: 281.2 kB / 0.8325 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.01815, allocations: 59.34 kB / 0.8326 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.052e-05/0.01817, allocations: 0 / 0.8326 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.01821, allocations: 74.2 kB / 0.8326 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of SimCode: time 8.41e-07/0.01821, allocations: 0 / 0.8326 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of Templates: time 0.008151/0.02636, allocations: 7.175 MB / 0.8397 GB, free: 5.527 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.044506442733109]