Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 103.6 kB / 18.95 MB, free: 2.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 219.3 kB / 22.25 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.019/3.019, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 65.66 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00278/0.3271, allocations: 1.456 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004583/0.3317, allocations: 2.677 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.3317, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.3318, allocations: 7.922 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.3318, allocations: 15.86 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.3361, allocations: 1.651 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.3362, allocations: 43.73 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.3363, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.3363, allocations: 15.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.3363, allocations: 19.88 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3364, allocations: 7.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.3389, allocations: 1.591 MB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.3389, allocations: 11.98 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.3389, allocations: 15.88 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.3408, allocations: 1.111 MB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3408, allocations: 0 / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3408, allocations: 0 / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3408, allocations: 0 / 1.334 GB, free: 8.809 MB / 1.029 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.000749/0.3415, allocations: 472 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3416, allocations: 15.98 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.3416, allocations: 114 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.312e-05/0.3417, allocations: 80.17 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3419, allocations: 190.9 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.3419, allocations: 150.9 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.342, allocations: 150.9 kB / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.3421, allocations: 108.9 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.3421, allocations: 75.28 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.3422, allocations: 154.6 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.3422, allocations: 154.5 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.3423, allocations: 158.5 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.3426, allocations: 433 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.3427, allocations: 165.1 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.3427, allocations: 80.14 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.3428, allocations: 83.22 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.3428, allocations: 109.8 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3428, allocations: 0 / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.277e-05/0.3429, allocations: 45.69 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3429, allocations: 126.7 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3431, allocations: 131.6 kB / 1.337 GB, free: 5.703 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3431, allocations: 29.7 kB / 1.337 GB, free: 5.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.3432, allocations: 92.09 kB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3432, allocations: 4 kB / 1.337 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.3432, allocations: 21.7 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3433, allocations: 314.8 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.3434, allocations: 8 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.3434, allocations: 4 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.3434, allocations: 20.78 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3434, allocations: 0 / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/0.3436, allocations: 53.62 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3436, allocations: 4 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.3436, allocations: 4.062 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3436, allocations: 8.062 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.3436, allocations: 7.938 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3436, allocations: 3.984 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.3436, allocations: 7.891 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3436, allocations: 0 / 1.338 GB, free: 5.098 MB / 1.029 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.998e-05/0.3437, allocations: 185.1 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.3438, allocations: 116.8 kB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.3439, allocations: 108.8 kB / 1.338 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/0.3439, allocations: 180.2 kB / 1.338 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.171e-05/0.344, allocations: 184.2 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-05/0.3441, allocations: 180.3 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3443, allocations: 392.2 kB / 1.339 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/0.3444, allocations: 101 kB / 1.339 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.3444, allocations: 109 kB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.995e-05/0.3445, allocations: 180.2 kB / 1.339 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.3446, allocations: 176.3 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.362e-05/0.3446, allocations: 184.2 kB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.3447, allocations: 180.3 kB / 1.34 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.3449, allocations: 315.7 kB / 1.34 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3449, allocations: 104.9 kB / 1.34 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.345, allocations: 188.2 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.3451, allocations: 105 kB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.3452, allocations: 184.2 kB / 1.341 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.3452, allocations: 105 kB / 1.341 GB, free: 1.684 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.35e-05/0.3453, allocations: 96.67 kB / 1.341 GB, free: 1.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3453, allocations: 0 / 1.341 GB, free: 1.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007926/0.3461, allocations: 299 kB / 1.341 GB, free: 1.297 MB / 1.029 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.001535/0.3476, allocations: 1.199 MB / 1.342 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3477, allocations: 41.69 kB / 1.342 GB, free: 24 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3477, allocations: 0 / 1.342 GB, free: 24 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.3477, allocations: 0 / 1.342 GB, free: 24 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3482, allocations: 463.7 kB / 1.343 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.3498, allocations: 1.616 MB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.004e-05/0.3498, allocations: 75.42 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.3498, allocations: 0 / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.3499, allocations: 11.44 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of SimCode: time 5.61e-07/0.3499, allocations: 3.938 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03731/0.3872, allocations: 7.844 MB / 1.352 GB, free: 6.109 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.32, allocations: 2.5 kB / 1.352 GB, free: 6.109 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.81017138500465]