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.001026/0.001027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007906/0.007906, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.351/2.351, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6365, allocations: 142.4 MB / 0.9551 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001333/0.6378, allocations: 1.197 MB / 0.9562 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.639, allocations: 0.907 MB / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.639, allocations: 4.719 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.6392, allocations: 42.94 kB / 0.9572 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.6393, allocations: 18.77 kB / 0.9572 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.6397, allocations: 162 kB / 0.9573 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.6397, allocations: 51.52 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.6398, allocations: 2.688 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.6399, allocations: 20.2 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.6399, allocations: 19.67 kB / 0.9574 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.6399, allocations: 2.125 kB / 0.9574 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.6402, allocations: 150 kB / 0.9576 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.6402, allocations: 3.938 kB / 0.9576 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.6402, allocations: 48.7 kB / 0.9576 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.6404, allocations: 123.3 kB / 0.9577 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6404, allocations: 0 / 0.9577 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6404, allocations: 3.938 kB / 0.9577 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.6404, allocations: 0 / 0.9577 GB, free: 5.641 MB / 0.7169 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.0002616/0.6407, allocations: 363.8 kB / 0.9581 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.6408, allocations: 13.64 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.6408, allocations: 86 kB / 0.9582 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.6409, allocations: 252.8 kB / 0.9584 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.641, allocations: 154.9 kB / 0.9586 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.641, allocations: 150.9 kB / 0.9587 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.724e-05/0.641, allocations: 107.1 kB / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.641, allocations: 75.28 kB / 0.9589 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.6411, allocations: 158.5 kB / 0.959 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.6411, allocations: 154.5 kB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.6411, allocations: 152.3 kB / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.6413, allocations: 469 kB / 0.9598 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.6414, allocations: 171 kB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.6414, allocations: 80.14 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.6414, allocations: 79.28 kB / 0.9601 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6414, allocations: 119.5 kB / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6414, allocations: 0 / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.501e-05/0.6415, allocations: 27.52 kB / 0.9602 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.6416, allocations: 132.5 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6417, allocations: 136.5 kB / 0.9605 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.6417, allocations: 25.7 kB / 0.9605 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.6417, allocations: 85.98 kB / 0.9606 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.6417, allocations: 0 / 0.9606 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.6417, allocations: 19.86 kB / 0.9606 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.6418, allocations: 313.1 kB / 0.9609 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.6418, allocations: 6.062 kB / 0.9609 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.6418, allocations: 6.938 kB / 0.9609 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.6419, allocations: 22.12 kB / 0.9609 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6419, allocations: 0 / 0.9609 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.642, allocations: 42.42 kB / 0.961 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.642, allocations: 5.375 kB / 0.961 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.642, allocations: 2.75 kB / 0.961 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.642, allocations: 0 / 0.961 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.642, allocations: 3.984 kB / 0.961 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.642, allocations: 5.375 kB / 0.961 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.6421, allocations: 7.844 kB / 0.961 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.6421, allocations: 5.438 kB / 0.961 GB, free: 2.16 MB / 0.7169 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 5.112e-05/0.6421, allocations: 187.9 kB / 0.9612 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.6422, allocations: 111.6 kB / 0.9613 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.6422, allocations: 110 kB / 0.9614 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.6422, allocations: 193.5 kB / 0.9616 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.6423, allocations: 181.6 kB / 0.9618 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.6423, allocations: 177.6 kB / 0.9619 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.6424, allocations: 410.7 kB / 0.9623 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.6424, allocations: 106.3 kB / 0.9624 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.6425, allocations: 118.3 kB / 0.9625 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.6425, allocations: 177.8 kB / 0.9627 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.6425, allocations: 184.3 kB / 0.9629 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-05/0.6426, allocations: 181.6 kB / 0.9631 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.546e-05/0.6426, allocations: 177.6 kB / 0.9632 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.6428, allocations: 313.2 kB / 0.9635 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.6428, allocations: 191.3 kB / 0.9637 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.6429, allocations: 181.6 kB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.643, allocations: 106.3 kB / 0.964 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.6431, allocations: 184.2 kB / 0.9642 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.6431, allocations: 102.4 kB / 0.9643 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.6432, allocations: 99.2 kB / 0.9643 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6432, allocations: 0 / 0.9643 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000274/0.6434, allocations: 42.05 kB / 0.9644 GB, free: 14.55 MB / 0.7325 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.0002558/0.6437, allocations: 210.4 kB / 0.9646 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.6438, allocations: 43 kB / 0.9646 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6438, allocations: 1.344 kB / 0.9646 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.6438, allocations: 0 / 0.9646 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.6443, allocations: 0.5329 MB / 0.9652 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.6446, allocations: 244 kB / 0.9654 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.6448, allocations: 0.6888 MB / 0.9661 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.6448, allocations: 11.02 kB / 0.9661 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.6448, allocations: 8.75 kB / 0.9661 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6449, allocations: 0 / 0.9661 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.003787/0.6486, allocations: 1.485 MB / 0.9675 GB, free: 12.08 MB / 0.7325 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