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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008225/0.0008225, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008962/0.0008963, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 8 kB / 0.8154 GB, free: 13.51 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.65, allocations: 142.4 MB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00166/0.6517, allocations: 1.412 MB / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.6563, allocations: 3.889 MB / 0.9596 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.6564, allocations: 4 kB / 0.9597 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.6573, allocations: 320.2 kB / 0.96 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.6575, allocations: 46.25 kB / 0.96 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.6594, allocations: 0.7607 MB / 0.9607 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.6597, allocations: 158.9 kB / 0.9609 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.6597, allocations: 17.73 kB / 0.9609 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.6598, allocations: 49.31 kB / 0.961 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.6601, allocations: 187.5 kB / 0.9611 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.6602, allocations: 14.38 kB / 0.9612 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.6621, allocations: 1.314 MB / 0.9624 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.6623, allocations: 264.3 kB / 0.9627 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.6625, allocations: 124.2 kB / 0.9628 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.6638, allocations: 1.025 MB / 0.9638 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6638, allocations: 5.344 kB / 0.9638 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6638, allocations: 0 / 0.9638 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.473e-05/0.6638, allocations: 0 / 0.9638 GB, free: 1.141 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.007544/0.6714, allocations: 1.224 MB / 0.965 GB, free: 156 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6714, allocations: 9.281 kB / 0.965 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003778/0.6718, allocations: 94.55 kB / 0.9651 GB, free: 88 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.6724, allocations: 396.9 kB / 0.9655 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.6724, allocations: 3 kB / 0.9655 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.6725, allocations: 11.98 kB / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.6729, allocations: 398.6 kB / 0.9659 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.673, allocations: 0 / 0.9659 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.673, allocations: 1.281 kB / 0.9659 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.673, allocations: 0.8438 kB / 0.9659 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.6735, allocations: 434 kB / 0.9663 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.6742, allocations: 0.6669 MB / 0.9669 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.6748, allocations: 0.5603 MB / 0.9675 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.6751, allocations: 334.2 kB / 0.9678 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.6762, allocations: 1.044 MB / 0.9688 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.6766, allocations: 402.2 kB / 0.9692 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 3.166e-06/0.6766, allocations: 4 kB / 0.9692 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001451/0.6781, allocations: 1.299 MB / 0.9705 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6782, allocations: 87.84 kB / 0.9706 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.6798, allocations: 1.274 MB / 0.9718 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.6798, allocations: 26.83 kB / 0.9718 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.6801, allocations: 280.9 kB / 0.9721 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.6801, allocations: 31.61 kB / 0.9721 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.6802, allocations: 4 kB / 0.9721 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6804, allocations: 425 kB / 0.9725 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.6817, allocations: 1.36 MB / 0.9739 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.683, allocations: 1.489 MB / 0.9753 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.6847, allocations: 1.895 MB / 0.9772 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6847, allocations: 0 / 0.9772 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004581/0.6893, allocations: 3.956 MB / 0.981 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6893, allocations: 9.234 kB / 0.9811 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.6893, allocations: 4 kB / 0.9811 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6894, allocations: 0 / 0.9811 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6895, allocations: 19.94 kB / 0.9811 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6895, allocations: 4.031 kB / 0.9811 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.6901, allocations: 232.4 kB / 0.9813 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.6901, allocations: 31.92 kB / 0.9813 GB, free: 3.379 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 ($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.0003127/0.6905, allocations: 245.6 kB / 0.9816 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.6905, allocations: 70.69 kB / 0.9816 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.6908, allocations: 87.56 kB / 0.9817 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6908, allocations: 4 kB / 0.9817 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6908, allocations: 0 / 0.9817 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6908, allocations: 0 / 0.9817 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.6914, allocations: 0.5099 MB / 0.9822 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6914, allocations: 4 kB / 0.9822 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.6915, allocations: 7.984 kB / 0.9822 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6915, allocations: 0 / 0.9822 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.6916, allocations: 4 kB / 0.9822 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6916, allocations: 0 / 0.9822 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6916, allocations: 4.031 kB / 0.9822 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.6925, allocations: 1.013 MB / 0.9832 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.6927, allocations: 155.8 kB / 0.9834 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.6928, allocations: 4 kB / 0.9834 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6929, allocations: 15.98 kB / 0.9834 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.693, allocations: 3.984 kB / 0.9834 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.693, allocations: 11.98 kB / 0.9834 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008048/0.6938, allocations: 0.7062 MB / 0.9841 GB, free: 440 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6938, allocations: 7.938 kB / 0.9841 GB, free: 432 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001224/0.6951, allocations: 403.8 kB / 0.9845 GB, free: 28 kB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.6966, allocations: 482.6 kB / 0.985 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002344/0.6989, allocations: 2.495 MB / 0.9874 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.699, allocations: 0 / 0.9874 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.6993, allocations: 347.8 kB / 0.9877 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.6997, allocations: 50.31 kB / 0.9878 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.7021, allocations: 1.966 MB / 0.9897 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.7028, allocations: 0.992 MB / 0.9907 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.703, allocations: 41.42 kB / 0.9907 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.7031, allocations: 23.42 kB / 0.9907 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.7031, allocations: 0 / 0.9907 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of Templates: time 0.01814/0.7213, allocations: 9.552 MB / 1 GB, free: 84 kB / 0.7481 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