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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001403/0.001403, allocations: 102.7 kB / 16.35 MB, free: 6.285 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.001498/0.001498, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 62.98 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.26, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002674/0.2628, allocations: 1.47 MB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2641, allocations: 0.9113 MB / 0.9535 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.2641, allocations: 4 kB / 0.9535 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.2643, allocations: 35.77 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.058e-05/0.2644, allocations: 27.84 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.2649, allocations: 191.4 kB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.265, allocations: 47.67 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.265, allocations: 11.91 kB / 0.9538 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.2651, allocations: 15.88 kB / 0.9538 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.2651, allocations: 19.92 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2652, allocations: 3.984 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.2655, allocations: 163.8 kB / 0.954 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.2655, allocations: 3.938 kB / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.2656, allocations: 23.86 kB / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.2658, allocations: 119.7 kB / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2658, allocations: 4 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2658, allocations: 3.938 kB / 0.9541 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2658, allocations: 4 kB / 0.9541 GB, free: 5.004 MB / 0.7325 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.0003513/0.2662, allocations: 367.2 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2662, allocations: 8.031 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.2663, allocations: 92.06 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.2665, allocations: 261.4 kB / 0.9548 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.2666, allocations: 150.9 kB / 0.9549 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.2666, allocations: 158.9 kB / 0.9551 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.2667, allocations: 105.3 kB / 0.9552 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.2667, allocations: 75.28 kB / 0.9553 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.2668, allocations: 150.6 kB / 0.9554 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.2668, allocations: 158.6 kB / 0.9556 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.247e-05/0.2669, allocations: 158.5 kB / 0.9557 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.2672, allocations: 461.9 kB / 0.9562 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.548e-05/0.2673, allocations: 165.1 kB / 0.9563 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.2673, allocations: 80.14 kB / 0.9564 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2673, allocations: 75.28 kB / 0.9565 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.2674, allocations: 113.8 kB / 0.9566 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2674, allocations: 0 / 0.9566 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.2675, allocations: 41.48 kB / 0.9566 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2675, allocations: 126.7 kB / 0.9567 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2677, allocations: 140.3 kB / 0.9569 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.2677, allocations: 25.7 kB / 0.9569 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.2677, allocations: 96.11 kB / 0.957 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.2678, allocations: 4 kB / 0.957 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.2678, allocations: 17.72 kB / 0.957 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2679, allocations: 318.8 kB / 0.9573 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.2679, allocations: 4 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.2679, allocations: 4 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.268, allocations: 16.8 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.268, allocations: 0 / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.2681, allocations: 53.53 kB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2681, allocations: 8.062 kB / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2682, allocations: 0 / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2682, allocations: 4 kB / 0.9574 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2682, allocations: 3.938 kB / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2682, allocations: 0 / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.2682, allocations: 48 / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2682, allocations: 3.984 kB / 0.9574 GB, free: 1.398 MB / 0.7325 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 9.908e-05/0.2683, allocations: 193.1 kB / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/0.2684, allocations: 124.8 kB / 0.9577 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.2685, allocations: 104.9 kB / 0.9578 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.359e-05/0.2685, allocations: 176.3 kB / 0.958 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-05/0.2686, allocations: 184.2 kB / 0.9581 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/0.2686, allocations: 180.3 kB / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.2689, allocations: 417.1 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/0.2689, allocations: 105 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.269, allocations: 104.9 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.073e-05/0.269, allocations: 180.2 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.2691, allocations: 188.2 kB / 0.9593 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.599e-05/0.2692, allocations: 180.2 kB / 0.9594 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-05/0.2692, allocations: 184.3 kB / 0.9596 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.2693, allocations: 307.7 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.2694, allocations: 197.9 kB / 0.9601 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.2695, allocations: 180.2 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.2696, allocations: 101 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.2697, allocations: 184.3 kB / 0.9605 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.2697, allocations: 104.9 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.2698, allocations: 103.2 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2698, allocations: 0 / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002589/0.27, allocations: 32 kB / 0.9608 GB, free: 13.72 MB / 0.7481 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.0002555/0.2703, allocations: 218.4 kB / 0.961 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.2704, allocations: 37.7 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2704, allocations: 0 / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/0.2704, allocations: 7.938 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.2708, allocations: 471.6 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.2711, allocations: 223.1 kB / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2714, allocations: 0.6844 MB / 0.9623 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.2714, allocations: 3.984 kB / 0.9624 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.2714, allocations: 15.38 kB / 0.9624 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2714, allocations: 0 / 0.9624 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of Templates: time 0.003759/0.2752, allocations: 1.501 MB / 0.9638 GB, free: 10.52 MB / 0.7481 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 -s cvode -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/jenkins1/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