Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_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_9_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.007087/0.007087, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.00165/0.00165, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.89 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8733/0.8746, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002292/0.877, allocations: 1.477 MB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.8781, allocations: 0.9016 MB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.8782, allocations: 1.688 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.8784, allocations: 39.41 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.8785, allocations: 21.44 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.879, allocations: 189.6 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.8791, allocations: 47.39 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.8791, allocations: 8.453 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.8792, allocations: 32.3 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.8792, allocations: 11.38 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.8792, allocations: 1.781 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.8796, allocations: 168.3 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.8796, allocations: 10.8 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.8796, allocations: 14.5 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.8799, allocations: 124.4 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8799, allocations: 0 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8799, allocations: 4.812 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.8799, allocations: 0 / 1.091 GB, free: 3.637 MB / 0.8575 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.000273/0.8802, allocations: 377.1 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8802, allocations: 9.062 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.8803, allocations: 79.36 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.8805, allocations: 266.9 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.8805, allocations: 155.8 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.8805, allocations: 151.8 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.023e-05/0.8806, allocations: 118.7 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.8806, allocations: 75.28 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.8806, allocations: 151.2 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.8807, allocations: 151.4 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.8807, allocations: 155.4 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.8809, allocations: 464.6 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.881, allocations: 166.3 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.881, allocations: 85.2 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.881, allocations: 76.08 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.881, allocations: 126.7 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.881, allocations: 0 / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.896e-05/0.8811, allocations: 33 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.8811, allocations: 128.2 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.8813, allocations: 134.2 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.8813, allocations: 30.52 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.8813, allocations: 88.03 kB / 1.094 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.8813, allocations: 0 / 1.094 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.8813, allocations: 23.77 kB / 1.094 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.8814, allocations: 314.7 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.8815, allocations: 7.031 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.8815, allocations: 3.219 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.8815, allocations: 14.28 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8815, allocations: 0 / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.8816, allocations: 53.56 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8817, allocations: 5.094 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.8817, allocations: 2.359 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8817, allocations: 4.938 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.8817, allocations: 0 / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.8817, allocations: 0.75 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.8817, allocations: 1.547 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8818, allocations: 0.7812 kB / 1.094 GB, free: 16.19 MB / 0.8731 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 8.663e-05/0.8818, allocations: 188.3 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.8819, allocations: 116 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.882, allocations: 112.8 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.239e-05/0.882, allocations: 178.4 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.002e-05/0.8821, allocations: 185.9 kB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/0.8822, allocations: 185.2 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.8824, allocations: 417.5 kB / 1.096 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.8824, allocations: 102.5 kB / 1.096 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.8825, allocations: 118.4 kB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.359e-05/0.8825, allocations: 182.4 kB / 1.096 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.8826, allocations: 177.7 kB / 1.096 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-05/0.8827, allocations: 182.2 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-05/0.8827, allocations: 178.2 kB / 1.096 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.8829, allocations: 314.6 kB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.8829, allocations: 188.9 kB / 1.097 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.883, allocations: 183.4 kB / 1.097 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.8831, allocations: 101.6 kB / 1.097 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.8832, allocations: 186.9 kB / 1.097 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.8832, allocations: 105.7 kB / 1.097 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.769e-05/0.8833, allocations: 100.7 kB / 1.098 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8833, allocations: 1 kB / 1.098 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002844/0.8836, allocations: 33.98 kB / 1.098 GB, free: 12.6 MB / 0.8731 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.0002947/0.8839, allocations: 213.1 kB / 1.098 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.837e-05/0.884, allocations: 37.78 kB / 1.098 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.884, allocations: 4.062 kB / 1.098 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.884, allocations: 5.375 kB / 1.098 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.8844, allocations: 469.2 kB / 1.098 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.8847, allocations: 229.3 kB / 1.098 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.885, allocations: 0.6862 MB / 1.099 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.885, allocations: 3.172 kB / 1.099 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.885, allocations: 9.719 kB / 1.099 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.885, allocations: 3.938 kB / 1.099 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.004165/0.8892, allocations: 1.507 MB / 1.101 GB, free: 10.9 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches