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.0008583/0.0008583, allocations: 76.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.0009423/0.0009423, allocations: 173.2 kB / 22.46 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.9133/0.9133, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.752/1.752, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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.443e-06/1.443e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.024e-05, allocations: 2.281 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.001318/0.001339, allocations: 0.5721 MB / 0.9815 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.002548, allocations: 1.023 MB / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.002576, allocations: 4 kB / 0.9825 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.002595, allocations: 0 / 0.9825 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0006773/0.003273, allocations: 135.6 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.68e-05/0.003309, allocations: 7.938 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.003372, allocations: 11.98 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.003422, allocations: 0 / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.003457, allocations: 7.938 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.003665, allocations: 47.89 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.003678, allocations: 0 / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.003861, allocations: 111.8 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.003872, allocations: 0 / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.003888, allocations: 4 kB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.004081, allocations: 119.7 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004082, allocations: 0 / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004083, allocations: 0 / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.004089, allocations: 3.984 kB / 0.983 GB, free: 500 kB / 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.0003127/0.004402, allocations: 258.2 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.004448, allocations: 12.03 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.004481, allocations: 30.75 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.004507, allocations: 4.875 kB / 0.9833 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004614, allocations: 113.8 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004626, allocations: 4.375 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.004635, allocations: 384 / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.004751, allocations: 38.25 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.00476, allocations: 192 / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.004771, allocations: 3.938 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.004777, allocations: 0 / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.004797, allocations: 0 / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.005195, allocations: 358.6 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.005279, allocations: 173 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.005315, allocations: 80.14 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.005343, allocations: 87.27 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.00539, allocations: 113.8 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.005391, allocations: 0 / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.005458, allocations: 33.59 kB / 0.9842 GB, free: 15.06 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.005516, allocations: 134.7 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.005609, allocations: 97.86 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.005618, allocations: 29.64 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.005653, allocations: 80.14 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-06/0.005658, allocations: 4 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.005686, allocations: 13.7 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/0.00578, allocations: 310.8 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.00579, allocations: 8 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.005796, allocations: 0 / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.005825, allocations: 12.86 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.005828, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.005935, allocations: 37.58 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.005949, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.005956, allocations: 4 kB / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.005971, allocations: 0 / 0.9849 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.005995, allocations: 3.984 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.006001, allocations: 96 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.006013, allocations: 4 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.00602, allocations: 0 / 0.9849 GB, free: 14.28 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 8.385e-05/0.006103, allocations: 185.1 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.006149, allocations: 104.9 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.006195, allocations: 112.1 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.155e-05/0.006256, allocations: 188.3 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.762e-05/0.006314, allocations: 180.2 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-05/0.006367, allocations: 180.3 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.006538, allocations: 376.2 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-05/0.006573, allocations: 108.9 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.006598, allocations: 105 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.164e-05/0.00666, allocations: 180.2 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.006719, allocations: 180.3 kB / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-05/0.006772, allocations: 180.3 kB / 0.9869 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.194e-05/0.006824, allocations: 188.2 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.006939, allocations: 307.7 kB / 0.9874 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.006971, allocations: 105 kB / 0.9875 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/0.007032, allocations: 180.2 kB / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.007087, allocations: 112.9 kB / 0.9878 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.007146, allocations: 176.3 kB / 0.9879 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.00718, allocations: 108.9 kB / 0.988 GB, free: 10.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.652e-05/0.007216, allocations: 87.2 kB / 0.9881 GB, free: 10.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007216, allocations: 7.938 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001981/0.007414, allocations: 23.88 kB / 0.9882 GB, free: 10.78 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.0005746/0.007989, allocations: 0.869 MB / 0.989 GB, free: 9.895 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/0.008059, allocations: 11.94 kB / 0.989 GB, free: 9.883 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.008064, allocations: 4 kB / 0.989 GB, free: 9.879 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.008066, allocations: 0 / 0.989 GB, free: 9.879 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.008345, allocations: 458.7 kB / 0.9895 GB, free: 9.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.008836, allocations: 253.5 kB / 0.9897 GB, free: 9.141 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.00888, allocations: 67.27 kB / 0.9898 GB, free: 9.055 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.008914, allocations: 8.062 kB / 0.9898 GB, free: 9.047 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.008949, allocations: 12.5 kB / 0.9898 GB, free: 9.035 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.008949, allocations: 0 / 0.9898 GB, free: 9.035 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.0388, allocations: 2.33 MB / 0.9921 GB, free: 6.879 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.158, allocations: 8.422 kB / 0.9921 GB, free: 6.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.393157173879445]