Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 175.5 kB / 393.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007938/0.0007938, allocations: 97.8 kB / 0.7935 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 13.84 kB / 0.9225 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5586, allocations: 121.3 MB / 1.041 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001614/0.5603, allocations: 1.425 MB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005216/0.5655, allocations: 6.156 MB / 1.048 GB, free: 51.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.5657, allocations: 1.781 kB / 1.048 GB, free: 51.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.5667, allocations: 350.8 kB / 1.049 GB, free: 51.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.5669, allocations: 53.66 kB / 1.049 GB, free: 51.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5689, allocations: 0.7679 MB / 1.049 GB, free: 51.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.5692, allocations: 189.1 kB / 1.05 GB, free: 51.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.5692, allocations: 15.06 kB / 1.05 GB, free: 51.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.5693, allocations: 50.38 kB / 1.05 GB, free: 51.26 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.5695, allocations: 172.3 kB / 1.05 GB, free: 51.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.5696, allocations: 15.66 kB / 1.05 GB, free: 51.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.5714, allocations: 1.33 MB / 1.051 GB, free: 50.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.5716, allocations: 272.5 kB / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.5719, allocations: 331.4 kB / 1.052 GB, free: 50.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.5736, allocations: 1.539 MB / 1.053 GB, free: 50.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5736, allocations: 3.406 kB / 1.053 GB, free: 50.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5736, allocations: 0.5938 kB / 1.053 GB, free: 50.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.5736, allocations: 0 / 1.053 GB, free: 50.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007202/0.5809, allocations: 1.211 MB / 1.054 GB, free: 49.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5809, allocations: 9.875 kB / 1.054 GB, free: 49.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.5813, allocations: 93.55 kB / 1.055 GB, free: 49.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.5817, allocations: 413.7 kB / 1.055 GB, free: 48.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5817, allocations: 6.516 kB / 1.055 GB, free: 48.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.5817, allocations: 13.62 kB / 1.055 GB, free: 48.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.5821, allocations: 389.8 kB / 1.055 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5821, allocations: 1.344 kB / 1.055 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5821, allocations: 0 / 1.055 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5822, allocations: 1.281 kB / 1.055 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.5826, allocations: 436.2 kB / 1.056 GB, free: 48.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.5831, allocations: 0.6629 MB / 1.056 GB, free: 48.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.5836, allocations: 0.5629 MB / 1.057 GB, free: 48.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.5838, allocations: 334.5 kB / 1.057 GB, free: 48.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/0.5846, allocations: 1.04 MB / 1.058 GB, free: 47.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.5849, allocations: 411.2 kB / 1.059 GB, free: 47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.5849, allocations: 0 / 1.059 GB, free: 47 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001152/0.5861, allocations: 1.292 MB / 1.06 GB, free: 46.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5861, allocations: 81.53 kB / 1.06 GB, free: 46.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.5872, allocations: 1.266 MB / 1.061 GB, free: 46.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5872, allocations: 32.95 kB / 1.061 GB, free: 46.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.5874, allocations: 289.6 kB / 1.062 GB, free: 46.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.5874, allocations: 21.14 kB / 1.062 GB, free: 46.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.5875, allocations: 7.922 kB / 1.062 GB, free: 46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5876, allocations: 428.4 kB / 1.062 GB, free: 45.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/0.5885, allocations: 1.355 MB / 1.063 GB, free: 45.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5895, allocations: 1.493 MB / 1.065 GB, free: 44.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00721/0.5968, allocations: 3.506 MB / 1.068 GB, free: 42.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5968, allocations: 0 / 1.068 GB, free: 42.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003329/0.6001, allocations: 3.952 MB / 1.072 GB, free: 40.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6002, allocations: 10.59 kB / 1.072 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6002, allocations: 320 / 1.072 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6002, allocations: 7.312 kB / 1.072 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6003, allocations: 13.44 kB / 1.072 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6004, allocations: 7.219 kB / 1.072 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.6008, allocations: 231.7 kB / 1.072 GB, free: 40.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.6009, allocations: 30.89 kB / 1.072 GB, free: 40.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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 0.0002961/0.6012, allocations: 246.9 kB / 1.073 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.6012, allocations: 74.75 kB / 1.073 GB, free: 40.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.6015, allocations: 81.47 kB / 1.073 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6015, allocations: 7.453 kB / 1.073 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6015, allocations: 0 / 1.073 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6015, allocations: 3.406 kB / 1.073 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.6019, allocations: 0.5052 MB / 1.073 GB, free: 40.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6019, allocations: 0 / 1.073 GB, free: 40.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.602, allocations: 9.531 kB / 1.073 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.602, allocations: 8.766 kB / 1.073 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.602, allocations: 5.312 kB / 1.073 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.602, allocations: 1.344 kB / 1.073 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.602, allocations: 1.25 kB / 1.073 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.6029, allocations: 1.005 MB / 1.074 GB, free: 40 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.603, allocations: 171.5 kB / 1.074 GB, free: 39.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.675e-05/0.6031, allocations: 4.516 kB / 1.074 GB, free: 39.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6032, allocations: 7.562 kB / 1.074 GB, free: 39.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.6033, allocations: 15.39 kB / 1.074 GB, free: 39.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.6033, allocations: 10.41 kB / 1.074 GB, free: 39.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006887/0.604, allocations: 0.7068 MB / 1.075 GB, free: 39.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.604, allocations: 1.125 kB / 1.075 GB, free: 39.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001032/0.6051, allocations: 403.4 kB / 1.076 GB, free: 39.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001125/0.6062, allocations: 496 kB / 1.076 GB, free: 39.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.6082, allocations: 2.491 MB / 1.078 GB, free: 38.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6082, allocations: 5.156 kB / 1.078 GB, free: 38.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.6085, allocations: 334.3 kB / 1.079 GB, free: 38.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.609, allocations: 68.83 kB / 1.079 GB, free: 38.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.6111, allocations: 2.075 MB / 1.081 GB, free: 37.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.6114, allocations: 0.9838 MB / 1.082 GB, free: 36.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.6116, allocations: 37.72 kB / 1.082 GB, free: 36.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.6117, allocations: 28.5 kB / 1.082 GB, free: 36.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/0.6118, allocations: 4 kB / 1.082 GB, free: 36.77 MB / 0.698 GB Notification: Performance of Templates: time 0.01617/0.6279, allocations: 9.776 MB / 1.091 GB, free: 36.16 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)