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.001517/0.001517, allocations: 106.2 kB / 16.27 MB, free: 5.992 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.001658/0.001658, allocations: 190.5 kB / 17.2 MB, free: 5.617 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.188/2.188, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 63.27 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002623/0.2759, allocations: 1.483 MB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.2773, allocations: 0.9035 MB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.2774, allocations: 0 / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.2776, allocations: 43.75 kB / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.2777, allocations: 19.86 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2782, allocations: 191.1 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.2783, allocations: 55.67 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.2783, allocations: 11.91 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.2784, allocations: 19.86 kB / 0.9529 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.2784, allocations: 19.92 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2785, allocations: 0 / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.2788, allocations: 143.8 kB / 0.9531 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.2788, allocations: 3.938 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.2789, allocations: 19.88 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.2792, allocations: 123.9 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2792, allocations: 0 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2792, allocations: 0 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2792, allocations: 4 kB / 0.9532 GB, free: 5.805 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.0004847/0.2797, allocations: 363.3 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.2798, allocations: 12.03 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.2799, allocations: 84.11 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.2801, allocations: 259.5 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.2802, allocations: 154.9 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.2803, allocations: 158.9 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.989e-05/0.2804, allocations: 105.3 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.2804, allocations: 79.27 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.2805, allocations: 150.6 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.2806, allocations: 154.6 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.2806, allocations: 150.6 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.281, allocations: 469.9 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.2811, allocations: 165.1 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.2811, allocations: 84.14 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.2811, allocations: 75.28 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.2812, allocations: 113.8 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.2812, allocations: 0 / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.905e-05/0.2813, allocations: 41.53 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.2814, allocations: 126.7 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2815, allocations: 132 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2815, allocations: 25.7 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.2816, allocations: 96.08 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.2816, allocations: 0 / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.2816, allocations: 25.7 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2817, allocations: 318.8 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.2818, allocations: 0 / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.2818, allocations: 8 kB / 0.9564 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.2818, allocations: 12.84 kB / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2818, allocations: 0 / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.282, allocations: 53.48 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.282, allocations: 11.94 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.282, allocations: 64 / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.282, allocations: 7.984 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.282, allocations: 0 / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2821, allocations: 0 / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.2821, allocations: 4 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2821, allocations: 0 / 0.9565 GB, free: 2.203 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 0.0001067/0.2822, allocations: 192.6 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.2823, allocations: 112.8 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.2823, allocations: 124.6 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/0.2824, allocations: 176.3 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.065e-05/0.2824, allocations: 184.2 kB / 0.9573 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-05/0.2825, allocations: 180.3 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2827, allocations: 409.2 kB / 0.9578 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.2828, allocations: 108.9 kB / 0.9579 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.2828, allocations: 112.9 kB / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.836e-05/0.2829, allocations: 180.2 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.2829, allocations: 180.3 kB / 0.9584 GB, free: 160 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.977e-05/0.283, allocations: 176.3 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.647e-05/0.2831, allocations: 184.2 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.2832, allocations: 315.7 kB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.2833, allocations: 189.9 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.2834, allocations: 184.2 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.2835, allocations: 104.9 kB / 0.9595 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.2836, allocations: 180.3 kB / 0.9597 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.2836, allocations: 104.9 kB / 0.9598 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.618e-05/0.2837, allocations: 103.3 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2837, allocations: 0 / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003581/0.2841, allocations: 31.98 kB / 0.9599 GB, free: 14.52 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.0002856/0.2844, allocations: 218.4 kB / 0.9601 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.2845, allocations: 41.69 kB / 0.9601 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2845, allocations: 4.062 kB / 0.9601 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.2845, allocations: 0 / 0.9601 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.285, allocations: 470 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.2854, allocations: 256.7 kB / 0.9608 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2856, allocations: 0.6883 MB / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.2856, allocations: 11.44 kB / 0.9615 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2856, allocations: 0 / 0.9615 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.002676/0.2883, allocations: 1.23 MB / 0.9627 GB, free: 11.56 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 -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