Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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.0008979/0.0008979, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001342/0.001342, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9189/0.9189, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.818/1.818, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.024e-05, allocations: 5.234 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001292/0.001312, allocations: 0.5645 MB / 0.9815 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002477, allocations: 1.03 MB / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.0025, allocations: 4 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.002519, allocations: 0 / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.000664/0.003183, allocations: 123.7 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.953e-05/0.003223, allocations: 15.92 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.003281, allocations: 8 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.003327, allocations: 0 / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.003364, allocations: 4 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.003563, allocations: 43.95 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003578, allocations: 0 / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.00376, allocations: 111.8 kB / 0.9828 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.003772, allocations: 0 / 0.9828 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.00379, allocations: 4 kB / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.003983, allocations: 123.6 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003986, allocations: 3.984 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003987, allocations: 0 / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003992, allocations: 7.938 kB / 0.983 GB, free: 0.4922 MB / 0.9323 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.0003019/0.004294, allocations: 258.3 kB / 0.9832 GB, free: 216 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.00434, allocations: 12.03 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.004375, allocations: 30.75 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.004399, allocations: 0.9375 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.004493, allocations: 109.7 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.004504, allocations: 384 / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.004511, allocations: 384 / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.004615, allocations: 38.25 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.004623, allocations: 192 / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004633, allocations: 7.938 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004638, allocations: 0 / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.004657, allocations: 3.938 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.00504, allocations: 362.6 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.798e-05/0.005118, allocations: 169.1 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.005148, allocations: 80.14 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.005174, allocations: 79.28 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.005215, allocations: 109.8 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.005216, allocations: 3.938 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.276e-05/0.005279, allocations: 29.69 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.005335, allocations: 134.7 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.005425, allocations: 101.8 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.005436, allocations: 25.7 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.00547, allocations: 80.14 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.005473, allocations: 4 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.005501, allocations: 17.7 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.005589, allocations: 310.8 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-06/0.005597, allocations: 4 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.005603, allocations: 0 / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.005632, allocations: 16.86 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005634, allocations: 4 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.938e-05/0.005734, allocations: 33.64 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005747, allocations: 10.75 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.005752, allocations: 4 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.005764, allocations: 3.984 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.005782, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.005789, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.005799, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.005806, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 7.894e-05/0.005885, allocations: 193.2 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.005928, allocations: 108.9 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.005964, allocations: 108.2 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/0.006016, allocations: 184.3 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/0.006066, allocations: 180.2 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/0.006118, allocations: 184.3 kB / 0.9858 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.00628, allocations: 376.2 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/0.006315, allocations: 105 kB / 0.9863 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.006344, allocations: 101.2 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.213e-05/0.006396, allocations: 184.2 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.006448, allocations: 180.3 kB / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-05/0.0065, allocations: 188.2 kB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-05/0.006549, allocations: 184.2 kB / 0.9871 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006667, allocations: 311.7 kB / 0.9874 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.006701, allocations: 101 kB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.006761, allocations: 184.2 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.006811, allocations: 105 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.006864, allocations: 180.2 kB / 0.9879 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.006894, allocations: 101 kB / 0.988 GB, free: 10.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.006934, allocations: 87.27 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006934, allocations: 7.938 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001888/0.007123, allocations: 23.94 kB / 0.9882 GB, free: 10.79 MB / 0.948 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.0005346/0.007658, allocations: 0.881 MB / 0.989 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/0.007722, allocations: 4 kB / 0.989 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007723, allocations: 0 / 0.989 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.007725, allocations: 3.938 kB / 0.989 GB, free: 9.887 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.007997, allocations: 455.8 kB / 0.9895 GB, free: 9.438 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.008462, allocations: 261.5 kB / 0.9897 GB, free: 9.141 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.284e-05/0.008505, allocations: 59.34 kB / 0.9898 GB, free: 9.062 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.008533, allocations: 4 kB / 0.9898 GB, free: 9.059 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.008566, allocations: 16.5 kB / 0.9898 GB, free: 9.043 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.008567, allocations: 0 / 0.9898 GB, free: 9.043 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.02912, allocations: 2.327 MB / 0.9921 GB, free: 6.891 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.648, allocations: 11.48 kB / 0.9921 GB, free: 6.887 MB / 0.948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_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_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv: Error: Error opening file: Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmp Variables in the result: [Calling sys.exit(0), Time elapsed: 12.263428715057671]