Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.99/4.99, allocations: 0.5623 GB / 0.5776 GB, free: 3.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003986/0.003985, allocations: 357.6 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.17/4.17, allocations: 410.7 MB / 1.113 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001868/0.001868, allocations: 183 kB / 1.226 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005215/0.0005221, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7191/0.7197, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002084/0.7218, allocations: 1.419 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006818/0.7287, allocations: 3.91 MB / 1.467 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.7289, allocations: 3.938 kB / 1.467 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.7302, allocations: 317 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.7304, allocations: 51.73 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.7334, allocations: 0.7428 MB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.7338, allocations: 164.6 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.7339, allocations: 5.562 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.7339, allocations: 57.94 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.7342, allocations: 187.6 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.7343, allocations: 12 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.7372, allocations: 1.3 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.7375, allocations: 263.8 kB / 1.47 GB, free: 276 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.7377, allocations: 125.2 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.7397, allocations: 1.026 MB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7398, allocations: 0 / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7398, allocations: 1.031 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.7398, allocations: 0 / 1.471 GB, free: 274.8 MB / 0.8542 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.01827/0.7581, allocations: 1.227 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.7582, allocations: 11.62 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/0.7587, allocations: 101.4 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.7593, allocations: 404.7 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.7594, allocations: 4 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.7594, allocations: 9.391 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.7599, allocations: 388.1 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.76, allocations: 1.656 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.76, allocations: 4 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.76, allocations: 0 / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.7606, allocations: 436.6 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.7614, allocations: 0.6702 MB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.762, allocations: 0.5567 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.7624, allocations: 339.4 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.7636, allocations: 1.039 MB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/0.7642, allocations: 402.6 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 4.789e-06/0.7642, allocations: 1.547 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.001582/0.7658, allocations: 1.299 MB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.7659, allocations: 81.11 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.7675, allocations: 1.271 MB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.7676, allocations: 29.7 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.7679, allocations: 281.4 kB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.7679, allocations: 19.72 kB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.768, allocations: 0 / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7681, allocations: 432.5 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.7696, allocations: 1.363 MB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.7712, allocations: 1.495 MB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.773, allocations: 1.891 MB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.7731, allocations: 0.5 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004927/0.778, allocations: 3.951 MB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.7781, allocations: 4 kB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.7781, allocations: 0 / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.7782, allocations: 4 kB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.7784, allocations: 26.61 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7784, allocations: 3.938 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/0.7793, allocations: 228.3 kB / 1.488 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/0.7795, allocations: 19.98 kB / 1.488 GB, free: 256.4 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000436/0.7799, allocations: 254.2 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.78, allocations: 75.94 kB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.7805, allocations: 86.19 kB / 1.489 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.7805, allocations: 0 / 1.489 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7805, allocations: 0 / 1.489 GB, free: 256 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.7806, allocations: 155.8 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7808, allocations: 4 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.781, allocations: 9.078 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.7811, allocations: 7.953 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001111/0.7822, allocations: 1.061 MB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001158/0.7834, allocations: 1.223 MB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004061/0.7839, allocations: 346.2 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001081/0.785, allocations: 0.7023 MB / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of Backend: time 1.203e-06/0.785, allocations: 0 / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.7898, allocations: 2.635 MB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00282/0.7927, allocations: 1.974 MB / 1.497 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.02528/0.818, allocations: 9.889 MB / 1.506 GB, free: 238.2 MB / 0.8542 GB