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.001167/0.001167, allocations: 106.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 187 kB / 17.34 MB, free: 5.742 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.88 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8542, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003461/0.8577, allocations: 1.741 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007191/0.8649, allocations: 4.216 MB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.8651, allocations: 1.906 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.8665, allocations: 372 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.8667, allocations: 56.14 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.87, allocations: 0.9927 MB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.8703, allocations: 152.7 kB / 1.096 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.8703, allocations: 10.33 kB / 1.096 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.8705, allocations: 52.17 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.8707, allocations: 163.4 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.8708, allocations: 18.84 kB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.8736, allocations: 1.381 MB / 1.098 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.8739, allocations: 276.1 kB / 1.098 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002525/0.8741, allocations: 304.4 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.8769, allocations: 1.55 MB / 1.1 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.877, allocations: 2.5 kB / 1.1 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.944e-06/0.877, allocations: 0 / 1.1 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.877, allocations: 0 / 1.1 GB, free: 15.76 MB / 0.8731 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.01082/0.8878, allocations: 1.281 MB / 1.101 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8879, allocations: 9.938 kB / 1.101 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000444/0.8883, allocations: 93.2 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.889, allocations: 404.5 kB / 1.101 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.889, allocations: 11.92 kB / 1.101 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.8891, allocations: 5.422 kB / 1.101 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.8896, allocations: 397.2 kB / 1.102 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8897, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.8897, allocations: 1.781 kB / 1.102 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.8897, allocations: 1.031 kB / 1.102 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.8903, allocations: 440.9 kB / 1.102 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.8911, allocations: 0.6595 MB / 1.103 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.8917, allocations: 0.559 MB / 1.103 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.8921, allocations: 337.6 kB / 1.104 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.8931, allocations: 1.03 MB / 1.105 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004742/0.8936, allocations: 404.7 kB / 1.105 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.744e-06/0.8936, allocations: 0 / 1.105 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001679/0.8953, allocations: 1.301 MB / 1.106 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.8953, allocations: 80.94 kB / 1.106 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.8971, allocations: 1.279 MB / 1.108 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.8972, allocations: 31.08 kB / 1.108 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.8975, allocations: 281.3 kB / 1.108 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.8975, allocations: 21.91 kB / 1.108 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.8979, allocations: 351.7 kB / 1.108 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8981, allocations: 318 kB / 1.109 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.8995, allocations: 1.366 MB / 1.11 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.901, allocations: 1.493 MB / 1.111 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007337/0.9084, allocations: 3.54 MB / 1.115 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.9084, allocations: 0.5625 kB / 1.115 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004653/0.9131, allocations: 3.974 MB / 1.119 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9131, allocations: 5.688 kB / 1.119 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.9131, allocations: 2 kB / 1.119 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9131, allocations: 1.406 kB / 1.119 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.9133, allocations: 23.88 kB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.9133, allocations: 1.156 kB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.914, allocations: 231 kB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.9141, allocations: 23.47 kB / 1.119 GB, free: 6.328 MB / 0.8731 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.0003755/0.9145, allocations: 249.7 kB / 1.119 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.9145, allocations: 80.59 kB / 1.119 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.9148, allocations: 84.55 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.9148, allocations: 1.188 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9149, allocations: 1.609 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9149, allocations: 1.906 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.9154, allocations: 0.5069 MB / 1.12 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9154, allocations: 1.25 kB / 1.12 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.9155, allocations: 18.78 kB / 1.12 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9155, allocations: 1.922 kB / 1.12 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.9156, allocations: 3.5 kB / 1.12 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9156, allocations: 5.188 kB / 1.12 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9156, allocations: 0.7969 kB / 1.12 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.9166, allocations: 1.005 MB / 1.121 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.9167, allocations: 165.1 kB / 1.121 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.9168, allocations: 1.688 kB / 1.121 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.9169, allocations: 9.406 kB / 1.121 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.917, allocations: 6.141 kB / 1.121 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.917, allocations: 16.59 kB / 1.121 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00089/0.9179, allocations: 0.7185 MB / 1.122 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9179, allocations: 0 / 1.122 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001604/0.9195, allocations: 400.5 kB / 1.122 GB, free: 5.152 MB / 0.8731 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.001197/0.9207, allocations: 489.1 kB / 1.123 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.9232, allocations: 2.49 MB / 1.125 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9232, allocations: 4.062 kB / 1.125 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.9236, allocations: 339.3 kB / 1.125 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.924, allocations: 61.39 kB / 1.126 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.9265, allocations: 1.909 MB / 1.127 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.927, allocations: 0.9867 MB / 1.128 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.9272, allocations: 27.33 kB / 1.128 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.9272, allocations: 0 / 1.128 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of Templates: time 0.02209/0.9493, allocations: 11.2 MB / 1.139 GB, free: 0.7773 MB / 0.8731 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/jenkins1/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) "" Variables in the reference:time,gFun_int Variables in the result:gFun_int,time