Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 107.4 kB / 16.41 MB, free: 6.41 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.001538/0.001538, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 64.05 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8704, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002946/0.8734, allocations: 1.467 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.875, allocations: 0.9073 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.8751, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.8754, allocations: 43.7 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.8755, allocations: 19.84 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.8762, allocations: 191.1 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.8763, allocations: 51.67 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.8764, allocations: 7.984 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.8764, allocations: 23.88 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.8765, allocations: 11.94 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.8765, allocations: 0 / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.8769, allocations: 175.8 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.877, allocations: 7.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.877, allocations: 15.88 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.8773, allocations: 127.5 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8773, allocations: 0 / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8773, allocations: 4 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8773, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 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.0004464/0.8778, allocations: 377 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.8778, allocations: 8.031 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.8779, allocations: 76.22 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.8782, allocations: 261.3 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.8783, allocations: 158.9 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.8784, allocations: 150.9 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/0.8784, allocations: 109.3 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.8785, allocations: 83.27 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.8785, allocations: 150.6 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.8786, allocations: 154.6 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.045e-05/0.8787, allocations: 150.6 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.879, allocations: 469.9 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.8791, allocations: 169.1 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.8791, allocations: 84.14 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.8792, allocations: 75.28 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.8792, allocations: 113.8 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.8792, allocations: 0 / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.632e-05/0.8793, allocations: 37.64 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.8794, allocations: 126.7 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.8795, allocations: 135.9 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.8796, allocations: 25.7 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.8796, allocations: 96.11 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.8796, allocations: 0 / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.8797, allocations: 17.72 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8798, allocations: 322.8 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.8798, allocations: 4 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.8799, allocations: 4 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.8799, allocations: 12.8 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8799, allocations: 4 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.88, allocations: 57.47 kB / 1.215 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8801, allocations: 7.938 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.8801, allocations: 0 / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8801, allocations: 8.062 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.8801, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8801, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.8802, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.8802, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 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 0.0001095/0.8803, allocations: 189.1 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.8804, allocations: 108.8 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.8804, allocations: 120.8 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-05/0.8805, allocations: 176.3 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.091e-05/0.8806, allocations: 192.2 kB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.179e-05/0.8806, allocations: 180.3 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.8809, allocations: 409.2 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/0.881, allocations: 108.9 kB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.881, allocations: 108.9 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.872e-05/0.8811, allocations: 184.2 kB / 1.216 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.8811, allocations: 176.3 kB / 1.217 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.717e-05/0.8812, allocations: 184.2 kB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.168e-05/0.8813, allocations: 180.2 kB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.8815, allocations: 307.8 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.8816, allocations: 193.9 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.8817, allocations: 180.3 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.8818, allocations: 104.9 kB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.8819, allocations: 180.3 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.8819, allocations: 108.9 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.882, allocations: 103.2 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.882, allocations: 0 / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003281/0.8823, allocations: 35.94 kB / 1.218 GB, free: 3.285 MB / 0.9356 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.0002969/0.8826, allocations: 210.5 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8827, allocations: 33.7 kB / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8827, allocations: 64 / 1.218 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-06/0.8827, allocations: 4 kB / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.8832, allocations: 477.5 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.8836, allocations: 272.4 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.8839, allocations: 0.6846 MB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.8839, allocations: 11.44 kB / 1.22 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.8839, allocations: 0 / 1.22 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of Templates: time 0.00316/0.8871, allocations: 1.235 MB / 1.221 GB, free: 320 kB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches