Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001785, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.002033/0.002033, allocations: 191 kB / 17.29 MB, free: 5.516 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.15/2.15, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.66 kB / 0.8141 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2633, allocations: 140.4 MB / 0.9512 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001912/0.2652, allocations: 0.5609 MB / 0.9517 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2665, allocations: 0.9896 MB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.2665, allocations: 0 / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.2666, allocations: 0 / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006436/0.2672, allocations: 95.77 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.987e-05/0.2673, allocations: 12 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.2673, allocations: 3.938 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.2674, allocations: 7.984 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.2674, allocations: 3.984 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2676, allocations: 25.95 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2676, allocations: 0 / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.2678, allocations: 83.92 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2678, allocations: 7.922 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.2678, allocations: 0 / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.268, allocations: 67.91 kB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.268, allocations: 0 / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.268, allocations: 4 kB / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.268, allocations: 0 / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003186/0.2683, allocations: 343.4 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2684, allocations: 8.031 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.2684, allocations: 0.9375 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2685, allocations: 164.4 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2686, allocations: 384 / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.2686, allocations: 4.312 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.88e-05/0.2687, allocations: 37.81 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2687, allocations: 4 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2687, allocations: 0 / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2687, allocations: 4 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.2687, allocations: 0 / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.2691, allocations: 468.6 kB / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.2692, allocations: 173.1 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.2692, allocations: 80.14 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.2693, allocations: 79.22 kB / 0.9543 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.2693, allocations: 105.8 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.2693, allocations: 0 / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.152e-05/0.2694, allocations: 33.69 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.2695, allocations: 138.6 kB / 0.9545 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.2696, allocations: 93.86 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2696, allocations: 25.7 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.2696, allocations: 84.05 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.2697, allocations: 4 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.2697, allocations: 17.7 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.2698, allocations: 314.8 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.2698, allocations: 4 kB / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.2698, allocations: 4 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.2698, allocations: 4.859 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2698, allocations: 0 / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.621e-05/0.27, allocations: 33.7 kB / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.27, allocations: 4 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.27, allocations: 7.922 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.27, allocations: 0 / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.27, allocations: 8 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.27, allocations: 0 / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.2701, allocations: 8.031 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2701, allocations: 0 / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.758e-05/0.2702, allocations: 185.1 kB / 0.9553 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.2702, allocations: 105 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.2703, allocations: 108 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.345e-05/0.2703, allocations: 180.4 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-05/0.2704, allocations: 188.3 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.327e-05/0.2705, allocations: 184.2 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2707, allocations: 405.2 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/0.2708, allocations: 108.9 kB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.2708, allocations: 101 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.386e-05/0.2709, allocations: 184.3 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.2709, allocations: 180.2 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.225e-05/0.271, allocations: 184.5 kB / 0.9571 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.276e-05/0.2711, allocations: 184.2 kB / 0.9573 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.2712, allocations: 307.8 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.671e-05/0.2713, allocations: 186 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.2714, allocations: 176.3 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.2714, allocations: 112.9 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.2715, allocations: 176.3 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.2716, allocations: 105 kB / 0.9583 GB, free: 200 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.2716, allocations: 91.14 kB / 0.9584 GB, free: 108 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2716, allocations: 4 kB / 0.9584 GB, free: 104 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002491/0.2719, allocations: 20 kB / 0.9584 GB, free: 84 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0003814/0.2723, allocations: 225.2 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.412e-05/0.2723, allocations: 8 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2724, allocations: 4.062 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2724, allocations: 0 / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2727, allocations: 455.6 kB / 0.9591 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.2731, allocations: 196.3 kB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2733, allocations: 0.6766 MB / 0.96 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.2733, allocations: 8 kB / 0.96 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.2734, allocations: 11.38 kB / 0.96 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.2734, allocations: 0 / 0.96 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of Templates: time 0.006439/0.2798, allocations: 0.6565 MB / 0.9606 GB, free: 13.85 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches