Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 186.2 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008335/0.0008336, allocations: 89.44 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 11.34 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1607, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.3069, allocations: 134.8 MB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.3072, allocations: 87.94 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01259/0.3198, allocations: 3.373 MB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3198, allocations: 0 / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.3198, allocations: 4 kB / 1.035 GB, free: 5.984 MB / 0.6823 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.0003581/0.3202, allocations: 379 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3202, allocations: 8.031 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.3203, allocations: 83.41 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3205, allocations: 272.7 kB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.3206, allocations: 158.4 kB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.3206, allocations: 151.4 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.521e-05/0.3207, allocations: 105 kB / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.3207, allocations: 75.28 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.3207, allocations: 154.6 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.3208, allocations: 150.6 kB / 1.037 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.3209, allocations: 158.5 kB / 1.037 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.3211, allocations: 461.9 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.3212, allocations: 174.9 kB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3212, allocations: 79.27 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3213, allocations: 113.8 kB / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3213, allocations: 0 / 1.038 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.324e-05/0.3214, allocations: 37.61 kB / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3214, allocations: 130.6 kB / 1.038 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3215, allocations: 125.1 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.3215, allocations: 25.7 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.3216, allocations: 88.14 kB / 1.038 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.3216, allocations: 4 kB / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.3216, allocations: 0 / 1.038 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.3217, allocations: 318.8 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.3217, allocations: 8 kB / 1.038 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.3217, allocations: 0 / 1.038 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.3218, allocations: 8 kB / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3218, allocations: 0 / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.3219, allocations: 53.55 kB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3219, allocations: 8 kB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3219, allocations: 0 / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.3219, allocations: 0 / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.3219, allocations: 7.938 kB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.322, allocations: 3.984 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.322, allocations: 8.062 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.322, allocations: 0 / 1.038 GB, free: 2.484 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.3221, allocations: 182.8 kB / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.3221, allocations: 112.8 kB / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.3222, allocations: 116.8 kB / 1.039 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/0.3223, allocations: 180.2 kB / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/0.3223, allocations: 184.2 kB / 1.039 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.3224, allocations: 188.2 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3226, allocations: 413.2 kB / 1.04 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/0.3226, allocations: 101 kB / 1.04 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.3227, allocations: 108.9 kB / 1.04 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.494e-05/0.3227, allocations: 184.2 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.3228, allocations: 180.2 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.318e-05/0.3228, allocations: 180.2 kB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.485e-05/0.3229, allocations: 184.2 kB / 1.041 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.323, allocations: 303.8 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.3231, allocations: 197.9 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.3232, allocations: 181.1 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.3232, allocations: 108.9 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3233, allocations: 176.3 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3233, allocations: 105 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.3234, allocations: 102.2 kB / 1.042 GB, free: 14.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3234, allocations: 7.938 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002783/0.3237, allocations: 39.94 kB / 1.042 GB, free: 14.8 MB / 0.698 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 (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.000282/0.324, allocations: 234.3 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.3241, allocations: 33.7 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3241, allocations: 8.062 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3241, allocations: 0 / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3244, allocations: 0.5322 MB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.3247, allocations: 244.1 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3249, allocations: 0.6848 MB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.3249, allocations: 4 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-06/0.3249, allocations: 7.438 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.325, allocations: 0 / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of Templates: time 0.003208/0.3282, allocations: 1.288 MB / 1.045 GB, free: 11.74 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches