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.001451/0.001451, allocations: 99.34 kB / 16.35 MB, free: 5.828 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.001621/0.001621, allocations: 192.3 kB / 17.29 MB, free: 5.484 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.335/1.335, 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.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.94 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3179, allocations: 140.4 MB / 0.9512 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00442/0.3224, allocations: 3.037 MB / 0.9541 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.3253, allocations: 2.152 MB / 0.9562 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3255, allocations: 7.938 kB / 0.9562 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.3269, allocations: 497.7 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.3272, allocations: 158.8 kB / 0.9569 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.3274, allocations: 51.95 kB / 0.9569 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005665/0.3279, allocations: 449.8 kB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.3283, allocations: 159.2 kB / 0.9575 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.3285, allocations: 155.4 kB / 0.9576 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.3288, allocations: 187.1 kB / 0.9578 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.3288, allocations: 36 kB / 0.9579 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.3289, allocations: 32 kB / 0.9579 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.329, allocations: 95.67 kB / 0.958 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.3293, allocations: 222.8 kB / 0.9582 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005833/0.3299, allocations: 0.5449 MB / 0.9587 GB, free: 208 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3299, allocations: 0 / 0.9587 GB, free: 208 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3299, allocations: 0 / 0.9587 GB, free: 208 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.3299, allocations: 0 / 0.9587 GB, free: 208 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.001269/0.3312, allocations: 0.7046 MB / 0.9594 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.3313, allocations: 8.031 kB / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.3314, allocations: 44.47 kB / 0.9595 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.3321, allocations: 382 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3321, allocations: 20.81 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.3322, allocations: 20.38 kB / 0.9599 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.3326, allocations: 199.6 kB / 0.9601 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3327, allocations: 7.906 kB / 0.9601 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3327, allocations: 4 kB / 0.9601 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3327, allocations: 8 kB / 0.9601 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.3331, allocations: 169.6 kB / 0.9602 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3344, allocations: 0.8584 MB / 0.9611 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3347, allocations: 154.5 kB / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3349, allocations: 108.8 kB / 0.9613 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3349, allocations: 4 kB / 0.9613 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.335, allocations: 30.56 kB / 0.9614 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 3.026e-06/0.335, allocations: 0 / 0.9614 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0006536/0.3356, allocations: 264 kB / 0.9616 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3357, allocations: 59.41 kB / 0.9617 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.3362, allocations: 413.7 kB / 0.9621 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3362, allocations: 29.7 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.3364, allocations: 212.2 kB / 0.9623 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.3365, allocations: 67 kB / 0.9624 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.3365, allocations: 29.7 kB / 0.9624 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3367, allocations: 350.8 kB / 0.9627 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3368, allocations: 63.92 kB / 0.9628 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.337, allocations: 53.86 kB / 0.9628 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.3373, allocations: 138.8 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3373, allocations: 0 / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003659/0.3376, allocations: 209.1 kB / 0.9632 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3377, allocations: 8 kB / 0.9632 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3377, allocations: 0 / 0.9632 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3377, allocations: 3.938 kB / 0.9632 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.338, allocations: 55.91 kB / 0.9632 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.338, allocations: 0 / 0.9632 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3381, allocations: 23.83 kB / 0.9632 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3381, allocations: 0 / 0.9632 GB, free: 11.32 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.0001637/0.3383, allocations: 165.8 kB / 0.9634 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.3384, allocations: 39.62 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.3385, allocations: 43.53 kB / 0.9635 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3385, allocations: 0 / 0.9635 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3385, allocations: 0 / 0.9635 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3385, allocations: 0 / 0.9635 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.3389, allocations: 381.2 kB / 0.9638 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3389, allocations: 0 / 0.9638 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.3392, allocations: 55.91 kB / 0.9639 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3392, allocations: 0 / 0.9639 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.3392, allocations: 11.94 kB / 0.9639 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3392, allocations: 4 kB / 0.9639 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3393, allocations: 0 / 0.9639 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.3399, allocations: 378.9 kB / 0.9643 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.34, allocations: 124.6 kB / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3401, allocations: 3.938 kB / 0.9644 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3402, allocations: 19.98 kB / 0.9644 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3403, allocations: 11.97 kB / 0.9644 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3403, allocations: 8 kB / 0.9644 GB, free: 10 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000349/0.3407, allocations: 299.2 kB / 0.9647 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3407, allocations: 3.938 kB / 0.9647 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003127/0.341, allocations: 75.84 kB / 0.9648 GB, free: 9.629 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.0001888/0.3412, allocations: 107.2 kB / 0.9649 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3415, allocations: 145.8 kB / 0.965 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3416, allocations: 0 / 0.965 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3417, allocations: 78.41 kB / 0.9651 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3423, allocations: 93.91 kB / 0.9652 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3436, allocations: 0.7377 MB / 0.9659 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.344, allocations: 0.8066 MB / 0.9667 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.3441, allocations: 34.95 kB / 0.9667 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.3441, allocations: 23.44 kB / 0.9668 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of SimCode: time 4.3e-07/0.3442, allocations: 0 / 0.9668 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of Templates: time 0.008459/0.3526, allocations: 3.952 MB / 0.9706 GB, free: 3.715 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 gbode -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