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.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.0009929/0.0009929, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009544/0.0009544, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9411/0.9411, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.737/1.737, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.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 1.283e-06/1.283e-06, allocations: 0.6562 kB / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.815e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003102/0.00312, allocations: 3.088 MB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.005108, allocations: 2.116 MB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005254, allocations: 7.938 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.006256, allocations: 484.7 kB / 0.8176 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.006428, allocations: 151.8 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.206e-05/0.00651, allocations: 56.78 kB / 0.8178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.006824, allocations: 466.4 kB / 0.8183 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.006973, allocations: 87.86 kB / 0.8183 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.007227, allocations: 252.7 kB / 0.8186 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.007385, allocations: 135.6 kB / 0.8187 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.007421, allocations: 32 kB / 0.8187 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.007463, allocations: 36 kB / 0.8188 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.007553, allocations: 104.5 kB / 0.8189 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.007657, allocations: 139.7 kB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.007923, allocations: 292 kB / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007927, allocations: 0 / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.492e-06/0.007928, allocations: 3.938 kB / 0.8193 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.007933, allocations: 1.344 kB / 0.8193 GB, free: 9.969 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000669/0.008602, allocations: 0.7499 MB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.008636, allocations: 8.031 kB / 0.82 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.008698, allocations: 67.47 kB / 0.8201 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.00896, allocations: 294.7 kB / 0.8204 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.008973, allocations: 12.88 kB / 0.8204 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.009003, allocations: 24.38 kB / 0.8204 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.009185, allocations: 145.4 kB / 0.8206 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.009194, allocations: 0.6875 kB / 0.8206 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.009208, allocations: 12.31 kB / 0.8206 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.009215, allocations: 12.47 kB / 0.8206 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.009303, allocations: 63.38 kB / 0.8206 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.009916, allocations: 0.6321 MB / 0.8213 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.01003, allocations: 92 kB / 0.8213 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.01009, allocations: 51.64 kB / 0.8214 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.01009, allocations: 4.656 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01012, allocations: 42.05 kB / 0.8214 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.01012, allocations: 0 / 0.8214 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0002038/0.01032, allocations: 148.5 kB / 0.8216 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.01035, allocations: 59.41 kB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.01063, allocations: 430.6 kB / 0.822 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01064, allocations: 29.7 kB / 0.8221 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.01078, allocations: 275.1 kB / 0.8223 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.01083, allocations: 67.36 kB / 0.8224 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.01087, allocations: 43.34 kB / 0.8224 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01103, allocations: 0.5456 MB / 0.823 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.01106, allocations: 19.92 kB / 0.823 GB, free: 6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.01109, allocations: 15.98 kB / 0.823 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.245e-05/0.01116, allocations: 65.5 kB / 0.8231 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01116, allocations: 0 / 0.8231 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001364/0.0113, allocations: 138.8 kB / 0.8232 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01131, allocations: 4 kB / 0.8232 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01132, allocations: 0 / 0.8232 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.01133, allocations: 0.9375 kB / 0.8232 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.01146, allocations: 55.91 kB / 0.8233 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.01146, allocations: 1.062 kB / 0.8233 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.01152, allocations: 15.94 kB / 0.8233 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.01153, allocations: 1.094 kB / 0.8233 GB, free: 5.703 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 (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 8.196e-05/0.01161, allocations: 168.5 kB / 0.8234 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.01164, allocations: 40.89 kB / 0.8235 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.01169, allocations: 35.41 kB / 0.8235 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01169, allocations: 4 kB / 0.8235 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01169, allocations: 1.062 kB / 0.8235 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01169, allocations: 0 / 0.8235 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.0119, allocations: 240.9 kB / 0.8238 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0119, allocations: 4.719 kB / 0.8238 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.01203, allocations: 55.91 kB / 0.8238 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01203, allocations: 1.656 kB / 0.8238 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01204, allocations: 4 kB / 0.8238 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01204, allocations: 0 / 0.8238 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01204, allocations: 0 / 0.8238 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.01228, allocations: 317.6 kB / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.01232, allocations: 40.98 kB / 0.8242 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01234, allocations: 4 kB / 0.8242 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.01241, allocations: 7.984 kB / 0.8242 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.01244, allocations: 12.86 kB / 0.8242 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.01245, allocations: 4 kB / 0.8242 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001352/0.01258, allocations: 271 kB / 0.8244 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01258, allocations: 1.344 kB / 0.8244 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001864/0.01277, allocations: 75.84 kB / 0.8245 GB, free: 4.398 MB / 0.7761 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.0001095/0.01288, allocations: 104.8 kB / 0.8246 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.01299, allocations: 77.11 kB / 0.8247 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01299, allocations: 3.938 kB / 0.8247 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.01304, allocations: 56.42 kB / 0.8247 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.01337, allocations: 85.3 kB / 0.8248 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.01422, allocations: 0.6405 MB / 0.8255 GB, free: 3.395 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.01428, allocations: 100.3 kB / 0.8255 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.566e-05/0.01434, allocations: 30.97 kB / 0.8256 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.01447, allocations: 134.2 kB / 0.8257 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.01448, allocations: 0 / 0.8257 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.005884/0.02036, allocations: 3.973 MB / 0.8296 GB, free: 15.31 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.718441597186029]