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.001818/0.001818, allocations: 106.9 kB / 16.36 MB, free: 6.289 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.001955/0.001955, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.334/1.334, 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.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.12 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2341, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002688/0.2368, allocations: 1.479 MB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2381, allocations: 0.9035 MB / 0.9535 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.2382, allocations: 3.938 kB / 0.9535 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.2384, allocations: 43.81 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.2384, allocations: 19.84 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.2389, allocations: 187.2 kB / 0.9537 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.844e-05/0.239, allocations: 55.66 kB / 0.9538 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.2391, allocations: 7.906 kB / 0.9538 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.2391, allocations: 23.92 kB / 0.9538 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.2392, allocations: 11.94 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.2392, allocations: 0 / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.2395, allocations: 171.7 kB / 0.954 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.2396, allocations: 3.938 kB / 0.954 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.2396, allocations: 19.88 kB / 0.954 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.2398, allocations: 127.7 kB / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2398, allocations: 0 / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2398, allocations: 3.938 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2398, allocations: 0 / 0.9541 GB, free: 5.012 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.0003425/0.2402, allocations: 371.2 kB / 0.9545 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2402, allocations: 12.03 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.2403, allocations: 84.12 kB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.2405, allocations: 267.5 kB / 0.9548 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.2406, allocations: 150.9 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.2406, allocations: 150.9 kB / 0.9551 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.74e-05/0.2407, allocations: 109.3 kB / 0.9552 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.2407, allocations: 79.22 kB / 0.9553 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.2408, allocations: 154.6 kB / 0.9554 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/0.2409, allocations: 150.6 kB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.2409, allocations: 154.6 kB / 0.9557 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.2412, allocations: 461.9 kB / 0.9562 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/0.2413, allocations: 169.1 kB / 0.9563 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.2414, allocations: 84.08 kB / 0.9564 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2414, allocations: 75.28 kB / 0.9565 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.2414, allocations: 117.8 kB / 0.9566 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.2414, allocations: 3.984 kB / 0.9566 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.63e-05/0.2415, allocations: 33.61 kB / 0.9566 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.2416, allocations: 134.7 kB / 0.9567 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2417, allocations: 127.4 kB / 0.9569 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2417, allocations: 29.7 kB / 0.9569 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2418, allocations: 88.14 kB / 0.957 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.2418, allocations: 0 / 0.957 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2418, allocations: 21.7 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2419, allocations: 318.8 kB / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.242, allocations: 3.938 kB / 0.9573 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.242, allocations: 11.98 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.242, allocations: 8.859 kB / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.242, allocations: 0 / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.2421, allocations: 49.55 kB / 0.9574 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2422, allocations: 10.5 kB / 0.9574 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2422, allocations: 0 / 0.9574 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2422, allocations: 8.047 kB / 0.9574 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.2422, allocations: 3.938 kB / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2422, allocations: 7.984 kB / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.2422, allocations: 0 / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2423, allocations: 0 / 0.9574 GB, free: 1.402 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.32e-05/0.2423, allocations: 197 kB / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.2424, allocations: 108.8 kB / 0.9577 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.2425, allocations: 112.8 kB / 0.9578 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-05/0.2425, allocations: 184.2 kB / 0.958 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-05/0.2426, allocations: 180.3 kB / 0.9581 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/0.2427, allocations: 188.1 kB / 0.9583 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2429, allocations: 405.2 kB / 0.9587 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.233e-05/0.243, allocations: 109 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.243, allocations: 112.9 kB / 0.9589 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.227e-05/0.2431, allocations: 180.3 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.2431, allocations: 180.2 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.376e-05/0.2432, allocations: 180.3 kB / 0.9594 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.974e-05/0.2433, allocations: 176.3 kB / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.2434, allocations: 319.7 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.2435, allocations: 197.9 kB / 0.9601 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.2436, allocations: 180.2 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.2437, allocations: 101 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.2437, allocations: 180.2 kB / 0.9605 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.2438, allocations: 109 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.2439, allocations: 99.27 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2439, allocations: 0 / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002765/0.2442, allocations: 31.98 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.0002808/0.2444, allocations: 218.4 kB / 0.961 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.2445, allocations: 41.62 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2446, allocations: 0 / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.2446, allocations: 4.062 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.0004417/0.245, allocations: 465.8 kB / 0.9615 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.2453, allocations: 219 kB / 0.9617 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2456, allocations: 0.6961 MB / 0.9624 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.2456, allocations: 0 / 0.9624 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.2456, allocations: 11.38 kB / 0.9624 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.2456, allocations: 0 / 0.9624 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.003685/0.2493, allocations: 1.509 MB / 0.9638 GB, free: 10.53 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 gbode -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