Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8126 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5826, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002546/0.5852, allocations: 1.729 MB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004637/0.5899, allocations: 4.219 MB / 0.9554 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.59, allocations: 0.8438 kB / 0.9554 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.5912, allocations: 365.7 kB / 0.9558 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.5913, allocations: 61 kB / 0.9558 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.5937, allocations: 0.9867 MB / 0.9568 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.5939, allocations: 146.8 kB / 0.9569 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.5939, allocations: 8.938 kB / 0.957 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.594, allocations: 60.95 kB / 0.957 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.5942, allocations: 164.2 kB / 0.9572 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.5942, allocations: 17.73 kB / 0.9572 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.596, allocations: 1.372 MB / 0.9585 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.5962, allocations: 276.4 kB / 0.9588 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.5964, allocations: 297.6 kB / 0.9591 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.5981, allocations: 1.54 MB / 0.9606 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5981, allocations: 3.984 kB / 0.9606 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5981, allocations: 1.094 kB / 0.9606 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5981, allocations: 0 / 0.9606 GB, free: 1.391 MB / 0.7169 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.01061/0.6087, allocations: 1.282 MB / 0.9618 GB, free: 384 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6088, allocations: 8.938 kB / 0.9618 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.6092, allocations: 92.09 kB / 0.9619 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6096, allocations: 405.5 kB / 0.9623 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.6097, allocations: 6.531 kB / 0.9623 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.6097, allocations: 4.938 kB / 0.9623 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.6101, allocations: 391.8 kB / 0.9627 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6102, allocations: 0 / 0.9627 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.6102, allocations: 12.75 kB / 0.9627 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6102, allocations: 1.125 kB / 0.9627 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.6107, allocations: 434.6 kB / 0.9631 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.6114, allocations: 0.6621 MB / 0.9638 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.612, allocations: 0.561 MB / 0.9643 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.6123, allocations: 337.3 kB / 0.9646 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.6134, allocations: 1.04 MB / 0.9657 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.6138, allocations: 410.9 kB / 0.9661 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.6138, allocations: 0 / 0.9661 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.00134/0.6152, allocations: 1.294 MB / 0.9673 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.6152, allocations: 84.25 kB / 0.9674 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.6166, allocations: 1.277 MB / 0.9686 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.6166, allocations: 34.84 kB / 0.9687 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.6168, allocations: 281.2 kB / 0.9689 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.6169, allocations: 27.64 kB / 0.969 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.6172, allocations: 352 kB / 0.9693 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6173, allocations: 325.6 kB / 0.9696 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6186, allocations: 1.359 MB / 0.9709 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.6199, allocations: 1.49 MB / 0.9724 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007193/0.6271, allocations: 3.545 MB / 0.9759 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6271, allocations: 0 / 0.9759 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004205/0.6313, allocations: 3.969 MB / 0.9797 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6313, allocations: 8.938 kB / 0.9797 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6314, allocations: 0 / 0.9797 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6314, allocations: 3.938 kB / 0.9798 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6315, allocations: 24.02 kB / 0.9798 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6315, allocations: 4 kB / 0.9798 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.6322, allocations: 224.3 kB / 0.98 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.6322, allocations: 23.98 kB / 0.98 GB, free: 2.094 MB / 0.7325 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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.0003238/0.6325, allocations: 249.5 kB / 0.9803 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.6326, allocations: 74.62 kB / 0.9803 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.6329, allocations: 87.72 kB / 0.9804 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6329, allocations: 0 / 0.9804 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.633, allocations: 0 / 0.9804 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.633, allocations: 0 / 0.9804 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.6334, allocations: 0.5139 MB / 0.9809 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6334, allocations: 0 / 0.9809 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.6335, allocations: 11.92 kB / 0.9809 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6335, allocations: 7.938 kB / 0.9809 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.6335, allocations: 0 / 0.9809 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.6336, allocations: 4.031 kB / 0.9809 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6336, allocations: 3.984 kB / 0.9809 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/0.6345, allocations: 0.9978 MB / 0.9819 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.6346, allocations: 163.7 kB / 0.9821 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.6347, allocations: 3.984 kB / 0.9821 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6348, allocations: 8 kB / 0.9821 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.6349, allocations: 7.984 kB / 0.9821 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.6349, allocations: 11.98 kB / 0.9821 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007832/0.6357, allocations: 0.7218 MB / 0.9828 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6357, allocations: 0 / 0.9828 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001192/0.6369, allocations: 407.8 kB / 0.9832 GB, free: 14.73 MB / 0.7481 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.001174/0.6381, allocations: 486 kB / 0.9837 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.6403, allocations: 2.495 MB / 0.9861 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6403, allocations: 0 / 0.9861 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.6406, allocations: 343.9 kB / 0.9864 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.6411, allocations: 64.58 kB / 0.9865 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.6432, allocations: 1.877 MB / 0.9883 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.6438, allocations: 0.9877 MB / 0.9893 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.644, allocations: 41.42 kB / 0.9893 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.6441, allocations: 23.42 kB / 0.9893 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of SimCode: time 3.176e-06/0.6441, allocations: 0 / 0.9893 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of Templates: time 0.01784/0.6619, allocations: 10.18 MB / 0.9993 GB, free: 14.23 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches