Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.001432/0.001432, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001499/0.001499, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.833/2.833, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",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.001948/0.001948, allocations: 75.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8404/0.8423, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001579/0.8439, allocations: 0.5518 MB / 1.322 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.8441, allocations: 107.3 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.8441, allocations: 4 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.134e-05/0.8442, allocations: 6.531 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.8443, allocations: 3.938 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.8444, allocations: 32.64 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.8445, allocations: 25.19 kB / 1.322 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.8445, allocations: 7.406 kB / 1.322 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.8446, allocations: 14.48 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.8446, allocations: 16.45 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.8446, allocations: 6.5 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-05/0.8447, allocations: 16.72 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.8447, allocations: 0 / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.8447, allocations: 9.172 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.76e-05/0.8448, allocations: 27.42 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.8448, allocations: 4 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8448, allocations: 0 / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.8448, allocations: 0 / 1.322 GB, free: 24.29 MB / 1.061 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.0002682/0.8451, allocations: 361.7 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.8451, allocations: 16.67 kB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.23e-05/0.8451, allocations: 192 / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.674e-05/0.8451, allocations: 33.56 kB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.8452, allocations: 3.75 kB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.8453, allocations: 171.8 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.8453, allocations: 3.219 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.8453, allocations: 3.219 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.92e-05/0.8454, allocations: 58.17 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.8454, allocations: 4 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8454, allocations: 5.844 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.8454, allocations: 0 / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.8454, allocations: 12.41 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.859e-05/0.8455, allocations: 151.2 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.8456, allocations: 26.48 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.8456, allocations: 21.75 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.8456, allocations: 6.609 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.8456, allocations: 42.44 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.8456, allocations: 0 / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000201/0.8458, allocations: 104.8 kB / 1.323 GB, free: 23.24 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.8459, allocations: 84.7 kB / 1.323 GB, free: 23.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.447e-05/0.8459, allocations: 89.86 kB / 1.323 GB, free: 23.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.8459, allocations: 28.23 kB / 1.323 GB, free: 23.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.344e-05/0.8459, allocations: 83.72 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.8459, allocations: 10.59 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.846, allocations: 26.16 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.846, allocations: 310.8 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.846, allocations: 15.03 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.8461, allocations: 11.17 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.8461, allocations: 85.08 kB / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8461, allocations: 0 / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001063/0.8462, allocations: 97.56 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8463, allocations: 37.64 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8463, allocations: 0 / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8463, allocations: 3.938 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.8463, allocations: 0 / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.8463, allocations: 0 / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.8464, allocations: 13.19 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.8464, allocations: 2.906 kB / 1.324 GB, free: 22.39 MB / 1.061 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 5.248e-05/0.8465, allocations: 142.6 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.8465, allocations: 13.94 kB / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-06/0.8465, allocations: 5.812 kB / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.8465, allocations: 0 / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.8465, allocations: 0 / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.8465, allocations: 0 / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.997e-05/0.8466, allocations: 151.3 kB / 1.324 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8466, allocations: 0 / 1.324 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.8466, allocations: 10.81 kB / 1.324 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8466, allocations: 3.938 kB / 1.324 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.8466, allocations: 6.812 kB / 1.324 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.8466, allocations: 4 kB / 1.324 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8466, allocations: 0 / 1.324 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.8467, allocations: 119.8 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.8467, allocations: 84.33 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8467, allocations: 2.781 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.8468, allocations: 5.906 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.8468, allocations: 0 / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.8468, allocations: 10.23 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.603e-05/0.8469, allocations: 78.06 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8469, allocations: 0 / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001828/0.847, allocations: 13.94 kB / 1.325 GB, free: 21.74 MB / 1.061 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.0003607/0.8474, allocations: 0.6779 MB / 1.325 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.8475, allocations: 86.64 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8475, allocations: 0 / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.8476, allocations: 65.08 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.8477, allocations: 10.66 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.848, allocations: 148.4 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.323e-05/0.8481, allocations: 0.6722 MB / 1.326 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.721e-05/0.8482, allocations: 9.219 kB / 1.326 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.8482, allocations: 7.438 kB / 1.326 GB, free: 20.1 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.8482, allocations: 0 / 1.326 GB, free: 20.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.8644, allocations: 1.93 MB / 1.328 GB, free: 19.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.682, allocations: 3.219 kB / 1.328 GB, free: 19.67 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.772028721985407]