Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.315/2.315, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2639, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001702/0.2656, allocations: 0.5695 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.2659, allocations: 107.7 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.2659, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.428e-05/0.266, allocations: 4 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.266, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2662, allocations: 39.91 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.2663, allocations: 23.97 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.2663, allocations: 11.98 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.2663, allocations: 11.94 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.2664, allocations: 15.97 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2664, allocations: 4 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.2664, allocations: 4 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.2665, allocations: 4 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2665, allocations: 11.98 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2666, allocations: 32.12 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2666, allocations: 7.984 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2666, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2666, allocations: 0 / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000357/0.267, allocations: 357.2 kB / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.267, allocations: 8.031 kB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.267, allocations: 38.69 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2671, allocations: 4.938 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2672, allocations: 160.4 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2672, allocations: 8.375 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2672, allocations: 4.375 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.2673, allocations: 62.14 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2673, allocations: 3.938 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2674, allocations: 4 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2674, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.2674, allocations: 12 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.2676, allocations: 149.7 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.2676, allocations: 34.56 kB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.2676, allocations: 16.84 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.2677, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2677, allocations: 34.56 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2677, allocations: 0 / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002357/0.2679, allocations: 107.3 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.268, allocations: 88.98 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.268, allocations: 102 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2681, allocations: 29.7 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.2681, allocations: 80.14 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2681, allocations: 7.953 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.2682, allocations: 21.72 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2683, allocations: 310.8 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.2683, allocations: 11.98 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.2684, allocations: 12.11 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.2684, allocations: 84.33 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2684, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001392/0.2686, allocations: 99.31 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.2686, allocations: 37.64 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2686, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2686, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-06/0.2686, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2686, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2688, allocations: 12.02 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2688, allocations: 4 kB / 1.218 GB, free: 12.95 MB / 0.9669 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: 1 * 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 9.558e-05/0.2689, allocations: 135.5 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.2689, allocations: 15.92 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.2689, allocations: 3.125 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2689, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2689, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2689, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.269, allocations: 149.7 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.269, allocations: 4 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.269, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.269, allocations: 3.938 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2691, allocations: 4 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2691, allocations: 7.922 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2691, allocations: 0 / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.2693, allocations: 122.8 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.2693, allocations: 81.09 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2693, allocations: 7.969 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.2694, allocations: 8 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.2694, allocations: 3.938 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2695, allocations: 11.98 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.2695, allocations: 75.28 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2695, allocations: 0 / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001858/0.2697, allocations: 12 kB / 1.219 GB, free: 12.2 MB / 0.9669 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005369/0.2702, allocations: 0.6815 MB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2704, allocations: 87.31 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2704, allocations: 4.094 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.2704, allocations: 71.39 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2706, allocations: 9.656 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.2709, allocations: 146.5 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.2712, allocations: 0.6729 MB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.559e-05/0.2713, allocations: 7.984 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.2713, allocations: 7.438 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of SimCode: time 4.6e-07/0.2713, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.2938, allocations: 1.854 MB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.451, allocations: 15.66 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.589006861999223]