Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 105 kB / 16.35 MB, free: 5.824 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.001936/0.001936, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 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.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.05 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2497, allocations: 140.4 MB / 0.9512 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003917/0.2536, allocations: 3.04 MB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.2561, allocations: 2.144 MB / 0.9562 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2562, allocations: 12 kB / 0.9562 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.2574, allocations: 0.4937 MB / 0.9567 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.2577, allocations: 158.8 kB / 0.9569 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.2578, allocations: 55.94 kB / 0.9569 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.2582, allocations: 453.7 kB / 0.9573 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.2585, allocations: 155.2 kB / 0.9575 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2586, allocations: 147.4 kB / 0.9576 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2588, allocations: 187.1 kB / 0.9578 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.2589, allocations: 40 kB / 0.9579 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.319e-05/0.2589, allocations: 32 kB / 0.9579 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2591, allocations: 95.67 kB / 0.958 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.2592, allocations: 215 kB / 0.9582 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.2597, allocations: 0.5526 MB / 0.9587 GB, free: 256 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2597, allocations: 0 / 0.9587 GB, free: 256 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2597, allocations: 0 / 0.9587 GB, free: 256 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2597, allocations: 0 / 0.9587 GB, free: 256 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009293/0.2606, allocations: 0.7045 MB / 0.9594 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2607, allocations: 8.031 kB / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.2607, allocations: 44.47 kB / 0.9595 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.2612, allocations: 374.1 kB / 0.9598 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2612, allocations: 16.81 kB / 0.9598 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.2613, allocations: 24.38 kB / 0.9599 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.2616, allocations: 207.5 kB / 0.9601 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2617, allocations: 3.906 kB / 0.9601 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.2617, allocations: 8 kB / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.2617, allocations: 8 kB / 0.9601 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.262, allocations: 165.6 kB / 0.9602 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2632, allocations: 0.8546 MB / 0.9611 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.2635, allocations: 154.5 kB / 0.9612 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.2637, allocations: 115.2 kB / 0.9613 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2637, allocations: 11.91 kB / 0.9613 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2637, allocations: 30.56 kB / 0.9614 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.2637, allocations: 0 / 0.9614 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0005569/0.2643, allocations: 257 kB / 0.9616 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.2643, allocations: 55.41 kB / 0.9617 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.2648, allocations: 413.7 kB / 0.9621 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.2648, allocations: 29.7 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.265, allocations: 216.2 kB / 0.9623 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.265, allocations: 63 kB / 0.9623 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.2651, allocations: 33.7 kB / 0.9624 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2652, allocations: 346.8 kB / 0.9627 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.2653, allocations: 63.92 kB / 0.9628 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2655, allocations: 56.83 kB / 0.9628 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.2657, allocations: 138.8 kB / 0.963 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2658, allocations: 0 / 0.963 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003601/0.2661, allocations: 211 kB / 0.9632 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2661, allocations: 8 kB / 0.9632 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2662, allocations: 0 / 0.9632 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2662, allocations: 3.938 kB / 0.9632 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2664, allocations: 55.97 kB / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2664, allocations: 0 / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.2666, allocations: 19.83 kB / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2666, allocations: 4 kB / 0.9632 GB, free: 11.37 MB / 0.7481 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001418/0.2667, allocations: 167.7 kB / 0.9634 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.2668, allocations: 35.62 kB / 0.9634 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.2669, allocations: 39.53 kB / 0.9635 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2669, allocations: 4 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2669, allocations: 4 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2669, allocations: 3.984 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.2673, allocations: 373.3 kB / 0.9638 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2673, allocations: 0 / 0.9638 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.2675, allocations: 55.97 kB / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2675, allocations: 0 / 0.9639 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2676, allocations: 7.875 kB / 0.9639 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2676, allocations: 7.984 kB / 0.9639 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2676, allocations: 4 kB / 0.9639 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.2681, allocations: 380.8 kB / 0.9643 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2682, allocations: 120.6 kB / 0.9644 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.2683, allocations: 7.938 kB / 0.9644 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2684, allocations: 11.98 kB / 0.9644 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2685, allocations: 7.984 kB / 0.9644 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2685, allocations: 12.06 kB / 0.9644 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002948/0.2688, allocations: 303.1 kB / 0.9647 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2688, allocations: 3.938 kB / 0.9647 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002903/0.2691, allocations: 71.84 kB / 0.9648 GB, free: 9.684 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001179/0.2692, allocations: 107.2 kB / 0.9649 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.2696, allocations: 143.9 kB / 0.965 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2696, allocations: 4 kB / 0.965 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.2697, allocations: 82.39 kB / 0.9651 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.2702, allocations: 96.3 kB / 0.9652 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2714, allocations: 0.7473 MB / 0.9659 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.2717, allocations: 0.7988 MB / 0.9667 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000106/0.2718, allocations: 38.95 kB / 0.9668 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.2719, allocations: 23.44 kB / 0.9668 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2719, allocations: 0 / 0.9668 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of Templates: time 0.007217/0.2791, allocations: 3.937 MB / 0.9706 GB, free: 3.766 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches