Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001107/0.001107, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001431/0.001431, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 7.344 kB / 0.9021 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2462, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001261/0.2475, allocations: 1.006 MB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003939/0.2515, allocations: 3.519 MB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.2515, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.2515, allocations: 0 / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.2519, allocations: 87.55 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.2522, allocations: 95.75 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.2523, allocations: 19.92 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.985e-05/0.2523, allocations: 4 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.2524, allocations: 27.84 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2525, allocations: 35.91 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.2525, allocations: 4 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.253, allocations: 291.6 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.253, allocations: 3.984 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.253, allocations: 25.7 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2532, allocations: 80.11 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2532, allocations: 0 / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2532, allocations: 3.938 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2532, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 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.0003551/0.2536, allocations: 351.4 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2536, allocations: 12.03 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2536, allocations: 7.844 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.2538, allocations: 171 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.2538, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2538, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.133e-05/0.2539, allocations: 33.69 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2539, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.2539, allocations: 3.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2539, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.2539, allocations: 8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.2541, allocations: 157.6 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.2542, allocations: 34.53 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.2542, allocations: 8.922 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.2544, allocations: 93.09 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2544, allocations: 38.56 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2544, allocations: 0 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.2546, allocations: 45.62 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2546, allocations: 51.41 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.2547, allocations: 97.86 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2547, allocations: 25.7 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.2548, allocations: 88.12 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2548, allocations: 7.906 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.2548, allocations: 4.125 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.2549, allocations: 310.8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.2549, allocations: 4 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.2549, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.912e-05/0.2549, allocations: 8 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.255, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.812e-05/0.255, allocations: 45.64 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.255, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2551, allocations: 4.094 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.2551, allocations: 3.938 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.2551, allocations: 4 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2551, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.2552, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2552, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.2552, allocations: 117.8 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.2553, allocations: 7.859 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2554, allocations: 52.81 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2554, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2554, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2554, allocations: 256 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.929e-05/0.2555, allocations: 157.7 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2555, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.2555, allocations: 15.86 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2555, allocations: 3.953 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.2556, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2556, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2556, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.809e-05/0.2557, allocations: 65.17 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.2557, allocations: 81.09 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2557, allocations: 7.953 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.2557, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.2558, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2558, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.48e-05/0.2558, allocations: 87.27 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2558, allocations: 4.031 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002186/0.256, allocations: 27.94 kB / 1.065 GB, free: 13.55 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001791/0.2562, allocations: 123.2 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.2563, allocations: 11.92 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2563, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.2563, allocations: 8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.2565, allocations: 5.891 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.2568, allocations: 158.4 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.257, allocations: 0.677 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.257, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.2571, allocations: 11.44 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2571, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.002774/0.2598, allocations: 0.7309 MB / 1.067 GB, free: 11.78 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches