Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0008758/0.0008758, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008457/0.0008457, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8713/0.8713, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.362e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001713/0.001726, allocations: 1.482 MB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.00266, allocations: 0.8648 MB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.002716, allocations: 4 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.002885, allocations: 43.7 kB / 0.9529 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.877e-05/0.002904, allocations: 23.8 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.00327, allocations: 186.9 kB / 0.9531 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.199e-05/0.003352, allocations: 59.66 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.003386, allocations: 0 / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.003472, allocations: 27.86 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.003496, allocations: 15.98 kB / 0.9532 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.003508, allocations: 0 / 0.9532 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.003793, allocations: 163.8 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.003804, allocations: 11.94 kB / 0.9533 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.003822, allocations: 7.938 kB / 0.9533 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.003995, allocations: 155.5 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003997, allocations: 0 / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003998, allocations: 4 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004001, allocations: 0 / 0.9535 GB, free: 432 kB / 0.9011 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.000264/0.004265, allocations: 297.9 kB / 0.9538 GB, free: 104 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004303, allocations: 12.03 kB / 0.9538 GB, free: 92 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.004351, allocations: 106 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.004394, allocations: 88.11 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.004587, allocations: 203.6 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.004631, allocations: 154.9 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.004672, allocations: 150.9 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.657e-05/0.004729, allocations: 105.5 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.004748, allocations: 83.41 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.004785, allocations: 162.7 kB / 0.9548 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.004819, allocations: 150.6 kB / 0.9549 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.00486, allocations: 154.6 kB / 0.9551 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.005062, allocations: 433 kB / 0.9555 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.105e-05/0.005123, allocations: 169.1 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.005145, allocations: 80.14 kB / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.005166, allocations: 79.28 kB / 0.9558 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.005195, allocations: 105.8 kB / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.005196, allocations: 0 / 0.9559 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.888e-05/0.005255, allocations: 49.52 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.005297, allocations: 126.7 kB / 0.9561 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.0054, allocations: 129.8 kB / 0.9562 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.005409, allocations: 25.7 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.005445, allocations: 100.1 kB / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.005448, allocations: 0 / 0.9563 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.005471, allocations: 17.7 kB / 0.9563 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.005547, allocations: 318.8 kB / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.005564, allocations: 4 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.005573, allocations: 0 / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.005602, allocations: 16.84 kB / 0.9567 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005604, allocations: 8.031 kB / 0.9567 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.093e-05/0.005695, allocations: 45.64 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.005707, allocations: 4 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.005723, allocations: 3.938 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.005733, allocations: 4 kB / 0.9567 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.005734, allocations: 0 / 0.9567 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.00574, allocations: 3.984 kB / 0.9567 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.005754, allocations: 3.953 kB / 0.9567 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.00576, allocations: 4 kB / 0.9567 GB, free: 12.89 MB / 0.9167 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 6.891e-05/0.005829, allocations: 185.1 kB / 0.9569 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.005863, allocations: 113 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.005896, allocations: 116.7 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/0.005935, allocations: 184.2 kB / 0.9573 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.919e-05/0.005974, allocations: 184.2 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.129e-05/0.006015, allocations: 176.3 kB / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.006153, allocations: 388.2 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.006176, allocations: 112.9 kB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.006199, allocations: 105 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.764e-05/0.006237, allocations: 180.2 kB / 0.9584 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.006279, allocations: 184.2 kB / 0.9586 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.121e-05/0.00632, allocations: 176.3 kB / 0.9587 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-05/0.006364, allocations: 188.2 kB / 0.9589 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.006455, allocations: 307.8 kB / 0.9592 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.006487, allocations: 108.9 kB / 0.9593 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.006537, allocations: 180.2 kB / 0.9595 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.006583, allocations: 109.2 kB / 0.9596 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.006626, allocations: 184.2 kB / 0.9598 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.006648, allocations: 108.9 kB / 0.9599 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.00669, allocations: 97.77 kB / 0.96 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00669, allocations: 0 / 0.96 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001778/0.006867, allocations: 35.88 kB / 0.96 GB, free: 9.344 MB / 0.9167 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.0003542/0.007222, allocations: 0.8633 MB / 0.9608 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.007292, allocations: 41.58 kB / 0.9609 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007293, allocations: 0 / 0.9609 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.007294, allocations: 0 / 0.9609 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.007609, allocations: 467.7 kB / 0.9613 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.008453, allocations: 1.463 MB / 0.9628 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.008497, allocations: 72.44 kB / 0.9628 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.537e-05/0.008512, allocations: 0 / 0.9628 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.008544, allocations: 20.48 kB / 0.9628 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of SimCode: time 9.02e-07/0.008544, allocations: 0 / 0.9628 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.02488, allocations: 3.438 MB / 0.9662 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.128, allocations: 2.625 kB / 0.9662 GB, free: 3.023 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.06787158921361]