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.001991/0.001991, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001732/0.001732, allocations: 218 kB / 22.26 MB, free: 5.125 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.98 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.104/3.104, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.001988/0.001988, allocations: 64.7 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002798/0.3361, allocations: 1.478 MB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.3412, allocations: 3 MB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.3412, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3413, allocations: 3.938 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.3413, allocations: 19.84 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.3459, allocations: 1.699 MB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.346, allocations: 47.67 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.346, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.3461, allocations: 15.92 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.3461, allocations: 19.92 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.3461, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.3496, allocations: 1.767 MB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3496, allocations: 7.922 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.3496, allocations: 15.88 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.3516, allocations: 1.146 MB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3516, allocations: 0 / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3516, allocations: 3.938 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3516, allocations: 4 kB / 1.335 GB, free: 8.637 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.0006977/0.3523, allocations: 483.9 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3523, allocations: 11.98 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.494e-05/0.3524, allocations: 117.9 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.3525, allocations: 84.17 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3526, allocations: 189.7 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.3527, allocations: 150.9 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.3528, allocations: 158.9 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.035e-05/0.3529, allocations: 104.9 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.3529, allocations: 79.27 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.353, allocations: 150.6 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/0.353, allocations: 150.6 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.3531, allocations: 162.5 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.3534, allocations: 437 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.3535, allocations: 169.1 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.3536, allocations: 80.14 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.3536, allocations: 79.22 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.3537, allocations: 113.8 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.3537, allocations: 0 / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.709e-05/0.3538, allocations: 37.7 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.3538, allocations: 126.7 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.354, allocations: 135.3 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.354, allocations: 25.7 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.3541, allocations: 96.12 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-06/0.3541, allocations: 4 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.3541, allocations: 13.72 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3542, allocations: 322.8 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.3543, allocations: 4 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.3543, allocations: 8 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.3543, allocations: 12.8 kB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3543, allocations: 0 / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001336/0.3545, allocations: 61.58 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3545, allocations: 5.562 kB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.3545, allocations: 8.062 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3545, allocations: 0 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.417e-06/0.3545, allocations: 4.062 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3545, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.3546, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3546, allocations: 4 kB / 1.338 GB, free: 4.918 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 0.00011/0.3547, allocations: 185.1 kB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.3547, allocations: 116.8 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.3548, allocations: 112.8 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-05/0.3549, allocations: 184.3 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.848e-05/0.355, allocations: 184.1 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/0.355, allocations: 176.3 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.3553, allocations: 392.2 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-05/0.3554, allocations: 109 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.3554, allocations: 105 kB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-05/0.3555, allocations: 180.2 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.352e-05/0.3556, allocations: 176.3 kB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001036/0.3557, allocations: 180.2 kB / 1.34 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.455e-05/0.3558, allocations: 184.2 kB / 1.341 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.356, allocations: 319.7 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.3561, allocations: 104.9 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.782e-05/0.3561, allocations: 188.2 kB / 1.341 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.3562, allocations: 105 kB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3563, allocations: 184.2 kB / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.3564, allocations: 105 kB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.976e-05/0.3565, allocations: 95.27 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 0 / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008848/0.3574, allocations: 302.9 kB / 1.342 GB, free: 1.102 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.00156/0.3589, allocations: 1.195 MB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3591, allocations: 37.7 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3591, allocations: 0 / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.3591, allocations: 4.062 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.3597, allocations: 457.1 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3615, allocations: 1.625 MB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3619, allocations: 0.6807 MB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.3619, allocations: 4.031 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.362, allocations: 19.42 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.362, allocations: 0 / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.3994, allocations: 7.357 MB / 1.353 GB, free: 5.773 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.02, allocations: 0 / 1.353 GB, free: 5.773 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.701887847999387]