Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 106.2 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 189.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9344/0.9357, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002693/0.9384, allocations: 1.286 MB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004921/0.9434, allocations: 3.762 MB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.9434, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.9435, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006146/0.9441, allocations: 103.4 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.9447, allocations: 143.4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.9448, allocations: 27.86 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.9448, allocations: 4 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.945, allocations: 39.84 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.9451, allocations: 43.89 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.9451, allocations: 0 / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.9456, allocations: 299.6 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.9457, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.9457, allocations: 7.938 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.946, allocations: 127.5 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.946, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.335e-06/0.946, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.946, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004866/0.9465, allocations: 357.3 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.9465, allocations: 12.92 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.9466, allocations: 0.9375 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.9467, allocations: 172.2 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.9467, allocations: 4.375 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.9468, allocations: 384 / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.9469, allocations: 41.83 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.9469, allocations: 0 / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.9469, allocations: 0 / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9469, allocations: 4 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.947, allocations: 11.92 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.9472, allocations: 149.7 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.9472, allocations: 22.59 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.9473, allocations: 12.92 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.9475, allocations: 101.1 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.9476, allocations: 34.5 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.9476, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.9477, allocations: 49.62 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.9478, allocations: 51.41 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.9479, allocations: 97.84 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.9479, allocations: 29.7 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.9479, allocations: 84.27 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.9479, allocations: 7.906 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.948, allocations: 13.72 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.9481, allocations: 314.8 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.9481, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.9481, allocations: 4 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.9482, allocations: 24.72 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9482, allocations: 0 / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.21e-05/0.9483, allocations: 49.64 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9483, allocations: 4 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9483, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9483, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.9484, allocations: 4 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.9484, allocations: 0 / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.9484, allocations: 0 / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.9484, allocations: 7.984 kB / 1.175 GB, free: 12.05 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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 7.313e-05/0.9485, allocations: 109.8 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.9485, allocations: 7.969 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.9486, allocations: 56.66 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.9487, allocations: 0 / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9487, allocations: 0 / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9487, allocations: 0 / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.9488, allocations: 149.7 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9488, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.9488, allocations: 11.94 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9488, allocations: 0 / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.9489, allocations: 8.031 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.9489, allocations: 256 / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.9489, allocations: 4 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.949, allocations: 65.11 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.949, allocations: 85.05 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.949, allocations: 0 / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.9491, allocations: 0 / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.9491, allocations: 3.938 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.9491, allocations: 8.031 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.9491, allocations: 87.27 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9491, allocations: 0 / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002154/0.9494, allocations: 23.94 kB / 1.175 GB, free: 11.34 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.0002119/0.9496, allocations: 131.2 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.567e-05/0.9497, allocations: 8 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9497, allocations: 3.938 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.9497, allocations: 8.062 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.95, allocations: 13.06 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.9503, allocations: 161.3 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.9506, allocations: 0.6768 MB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.9506, allocations: 7.438 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.9506, allocations: 0 / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of Templates: time 0.002268/0.9529, allocations: 0.724 MB / 1.177 GB, free: 9.559 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches