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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 387.1 MB / 399.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 178.9 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 98.67 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.454e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2743, allocations: 142.4 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9539/1.228, allocations: 152.3 MB / 1.361 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.229, allocations: 86.88 kB / 1.361 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01307/1.242, allocations: 3.48 MB / 1.365 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/1.242, allocations: 0 / 1.365 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.242, allocations: 0 / 1.365 GB, free: 34.52 MB / 0.8386 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.0003168/1.242, allocations: 361.8 kB / 1.365 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/1.242, allocations: 7.656 kB / 1.365 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/1.242, allocations: 79.16 kB / 1.365 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/1.242, allocations: 274.2 kB / 1.365 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/1.242, allocations: 150.6 kB / 1.365 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/1.243, allocations: 150.6 kB / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.237e-05/1.243, allocations: 104.2 kB / 1.366 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.243, allocations: 79.22 kB / 1.366 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/1.243, allocations: 154.6 kB / 1.366 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/1.243, allocations: 151.2 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/1.243, allocations: 156.1 kB / 1.366 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/1.243, allocations: 462.5 kB / 1.367 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.314e-05/1.243, allocations: 173 kB / 1.367 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/1.243, allocations: 84.12 kB / 1.367 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/1.243, allocations: 82.16 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.243, allocations: 105.8 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.243, allocations: 0 / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.679e-05/1.243, allocations: 36.58 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.244, allocations: 126.7 kB / 1.367 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.244, allocations: 124.3 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/1.244, allocations: 25.7 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/1.244, allocations: 94.77 kB / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/1.244, allocations: 0 / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/1.244, allocations: 0 / 1.367 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.244, allocations: 318 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/1.244, allocations: 8.875 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/1.244, allocations: 3.844 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/1.244, allocations: 10.31 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.244, allocations: 3.953 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/1.244, allocations: 43 kB / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/1.244, allocations: 11.69 kB / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.244, allocations: 0 / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.244, allocations: 0 / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/1.244, allocations: 3.938 kB / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.244, allocations: 0 / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/1.244, allocations: 3.906 kB / 1.368 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.244, allocations: 0 / 1.368 GB, free: 31.18 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/1.244, allocations: 184.1 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/1.244, allocations: 115.8 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/1.244, allocations: 116.3 kB / 1.368 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-05/1.244, allocations: 184.2 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.192e-05/1.245, allocations: 182.4 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/1.245, allocations: 188.1 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/1.245, allocations: 414.4 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/1.245, allocations: 104.8 kB / 1.369 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/1.245, allocations: 108.9 kB / 1.369 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/1.245, allocations: 176.3 kB / 1.37 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/1.245, allocations: 178.6 kB / 1.37 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.252e-05/1.245, allocations: 188 kB / 1.37 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.222e-05/1.245, allocations: 176.3 kB / 1.37 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/1.245, allocations: 313.7 kB / 1.37 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/1.245, allocations: 185.9 kB / 1.37 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.246, allocations: 194.2 kB / 1.371 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.942e-05/1.246, allocations: 101 kB / 1.371 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/1.246, allocations: 185 kB / 1.371 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/1.246, allocations: 104 kB / 1.371 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.164e-05/1.246, allocations: 102.9 kB / 1.371 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.246, allocations: 0 / 1.371 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003715/1.246, allocations: 38.5 kB / 1.371 GB, free: 27.62 MB / 0.8386 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 () * 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 (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.0003583/1.247, allocations: 235.6 kB / 1.371 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.045e-05/1.247, allocations: 40.55 kB / 1.371 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.247, allocations: 0 / 1.371 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/1.247, allocations: 0 / 1.371 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.247, allocations: 0.536 MB / 1.372 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/1.247, allocations: 146.4 kB / 1.372 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/1.248, allocations: 0.6888 MB / 1.373 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.198e-05/1.248, allocations: 4.5 kB / 1.373 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/1.248, allocations: 11.31 kB / 1.373 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.248, allocations: 0 / 1.373 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of Templates: time 0.003531/1.251, allocations: 1.365 MB / 1.374 GB, free: 25.93 MB / 0.8386 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","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches