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.001877/0.001877, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001897/0.001897, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.07 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.186/2.186, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8248, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002922/0.8277, allocations: 1.734 MB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005804/0.8336, allocations: 4.222 MB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.8338, allocations: 1.812 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.8353, allocations: 364 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.8355, allocations: 60.33 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.8394, allocations: 0.9833 MB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.8398, allocations: 154.4 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.8399, allocations: 13.41 kB / 1.096 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.84, allocations: 56.75 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.8403, allocations: 155.3 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.8404, allocations: 22.45 kB / 1.096 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.8439, allocations: 1.386 MB / 1.098 GB, free: 280 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.8443, allocations: 274.6 kB / 1.098 GB, free: 204 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.8446, allocations: 301.1 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/0.8489, allocations: 1.552 MB / 1.1 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8489, allocations: 0 / 1.1 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8489, allocations: 0 / 1.1 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.849, allocations: 1.125 kB / 1.1 GB, free: 15.51 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.009199/0.8582, allocations: 1.278 MB / 1.101 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.8582, allocations: 9.844 kB / 1.101 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.8587, allocations: 91.95 kB / 1.101 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007104/0.8594, allocations: 405.3 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.8595, allocations: 8 kB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.8595, allocations: 9.828 kB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.8601, allocations: 400.3 kB / 1.102 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.8602, allocations: 0.5625 kB / 1.102 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8602, allocations: 1.062 kB / 1.102 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.8602, allocations: 1.688 kB / 1.102 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/0.8608, allocations: 432.4 kB / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.8618, allocations: 0.6675 MB / 1.103 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.8625, allocations: 0.5664 MB / 1.103 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.8629, allocations: 334.6 kB / 1.104 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.864, allocations: 1.03 MB / 1.105 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005156/0.8646, allocations: 411.1 kB / 1.105 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.8646, allocations: 1.406 kB / 1.105 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001759/0.8663, allocations: 1.296 MB / 1.106 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.8664, allocations: 84.39 kB / 1.106 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.8685, allocations: 1.279 MB / 1.108 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.8686, allocations: 32.83 kB / 1.108 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.8689, allocations: 279.9 kB / 1.108 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.8689, allocations: 22.59 kB / 1.108 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.8694, allocations: 351.3 kB / 1.108 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8695, allocations: 317.5 kB / 1.109 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.871, allocations: 1.361 MB / 1.11 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.8727, allocations: 1.491 MB / 1.111 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007869/0.8806, allocations: 3.544 MB / 1.115 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.8807, allocations: 1 kB / 1.115 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005211/0.8859, allocations: 3.966 MB / 1.119 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8859, allocations: 6.047 kB / 1.119 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.886, allocations: 1.625 kB / 1.119 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.886, allocations: 6.031 kB / 1.119 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.8862, allocations: 19.42 kB / 1.119 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8862, allocations: 1.375 kB / 1.119 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.887, allocations: 234.5 kB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.887, allocations: 27.56 kB / 1.119 GB, free: 6.07 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.0004539/0.8875, allocations: 243.2 kB / 1.119 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8876, allocations: 79.75 kB / 1.119 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.8879, allocations: 88.28 kB / 1.119 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.888, allocations: 1.125 kB / 1.119 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.888, allocations: 1.438 kB / 1.119 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.888, allocations: 0.7031 kB / 1.119 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.8887, allocations: 0.5079 MB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8887, allocations: 1.031 kB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.8887, allocations: 10.58 kB / 1.12 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8888, allocations: 1.609 kB / 1.12 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.8888, allocations: 3.594 kB / 1.12 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.8888, allocations: 1 kB / 1.12 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8888, allocations: 5.891 kB / 1.12 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.89, allocations: 1.009 MB / 1.121 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.8901, allocations: 160.4 kB / 1.121 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.8902, allocations: 6.344 kB / 1.121 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.8904, allocations: 13.66 kB / 1.121 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.8904, allocations: 5.516 kB / 1.121 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.8905, allocations: 12.86 kB / 1.121 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001024/0.8915, allocations: 0.7187 MB / 1.122 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8915, allocations: 0 / 1.122 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002035/0.8936, allocations: 402.7 kB / 1.122 GB, free: 4.898 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.001516/0.8951, allocations: 488.5 kB / 1.123 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.8984, allocations: 2.495 MB / 1.125 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8984, allocations: 4.062 kB / 1.125 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.8988, allocations: 342.5 kB / 1.125 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.8995, allocations: 57.41 kB / 1.126 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.9026, allocations: 1.906 MB / 1.127 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.9034, allocations: 0.9865 MB / 1.128 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.9036, allocations: 26.34 kB / 1.128 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of SimCode: time 1.152e-06/0.9036, allocations: 0 / 1.128 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of Templates: time 0.02582/0.9294, allocations: 11.21 MB / 1.139 GB, free: 0.5547 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