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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001529/0.001529, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001498/0.001498, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 69.33 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8528, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002555/0.8554, allocations: 1.301 MB / 1.084 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.8602, allocations: 3.754 MB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.8603, allocations: 0 / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.8603, allocations: 0.8906 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.8609, allocations: 100.3 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.8612, allocations: 132.6 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.8613, allocations: 27.7 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.8614, allocations: 5.828 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.8615, allocations: 27.48 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.8616, allocations: 42.25 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.8616, allocations: 1.312 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.8622, allocations: 305.1 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.8622, allocations: 2.234 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.8623, allocations: 6.5 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.8625, allocations: 124 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.8625, allocations: 1.25 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8625, allocations: 0 / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.8625, allocations: 0 / 1.089 GB, free: 13.77 MB / 0.8419 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.0004132/0.863, allocations: 357.2 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.863, allocations: 8.812 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.863, allocations: 6.094 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.8632, allocations: 175.1 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.8632, allocations: 1.406 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.8632, allocations: 1.406 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.8633, allocations: 39.95 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.8633, allocations: 0 / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.8633, allocations: 0 / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.8633, allocations: 0.9688 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.8634, allocations: 9.328 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.8636, allocations: 152.5 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.8636, allocations: 28.67 kB / 1.089 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.8637, allocations: 8.297 kB / 1.089 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.8639, allocations: 97.77 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.864, allocations: 47.06 kB / 1.089 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.864, allocations: 1.125 kB / 1.089 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.8641, allocations: 37.33 kB / 1.09 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.8642, allocations: 53 kB / 1.09 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.8643, allocations: 105.8 kB / 1.09 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.8643, allocations: 27.78 kB / 1.09 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.8643, allocations: 80.14 kB / 1.09 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.8644, allocations: 14.16 kB / 1.09 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.8644, allocations: 17.84 kB / 1.09 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8646, allocations: 311.5 kB / 1.09 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.8646, allocations: 7.359 kB / 1.09 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.8646, allocations: 2.719 kB / 1.09 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.8646, allocations: 10.59 kB / 1.09 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8646, allocations: 1.062 kB / 1.09 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.021e-05/0.8647, allocations: 44.8 kB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8647, allocations: 5.188 kB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8648, allocations: 5.672 kB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.8648, allocations: 3.938 kB / 1.09 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.8648, allocations: 7.938 kB / 1.09 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8648, allocations: 1.125 kB / 1.09 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.8649, allocations: 3.938 kB / 1.09 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.8649, allocations: 1.766 kB / 1.09 GB, free: 12.04 MB / 0.8419 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.91e-05/0.865, allocations: 108 kB / 1.09 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.865, allocations: 5.094 kB / 1.09 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.8651, allocations: 54.02 kB / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8651, allocations: 3.75 kB / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8651, allocations: 0 / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8651, allocations: 0 / 1.09 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.8652, allocations: 154.2 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8653, allocations: 0 / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.8653, allocations: 10.81 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.8653, allocations: 1.281 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.8653, allocations: 0 / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8653, allocations: 1.094 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8653, allocations: 4.031 kB / 1.091 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.8654, allocations: 63.28 kB / 1.091 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.8655, allocations: 85.47 kB / 1.091 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.8655, allocations: 5.469 kB / 1.091 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.8655, allocations: 0 / 1.091 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.8655, allocations: 1.5 kB / 1.091 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8655, allocations: 1.312 kB / 1.091 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.8656, allocations: 85.59 kB / 1.091 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.954e-06/0.8656, allocations: 0 / 1.091 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002174/0.8658, allocations: 29.56 kB / 1.091 GB, free: 11.41 MB / 0.8419 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.000203/0.866, allocations: 133.7 kB / 1.091 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.426e-05/0.8661, allocations: 11.56 kB / 1.091 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8661, allocations: 1.156 kB / 1.091 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.8662, allocations: 7.109 kB / 1.091 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.8663, allocations: 5.688 kB / 1.091 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.8667, allocations: 164.4 kB / 1.091 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.867, allocations: 0.677 MB / 1.092 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.867, allocations: 13.97 kB / 1.092 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.867, allocations: 0 / 1.092 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.002488/0.8695, allocations: 0.7284 MB / 1.092 GB, free: 10.39 MB / 0.8419 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=400 -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/jenkins1/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