Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|G.1.|G.2.|G.3.|G.4.|G.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008416/0.008416, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.39/2.39, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 8.281 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6435, allocations: 142.4 MB / 0.9551 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.001345/0.6449, allocations: 1.023 MB / 0.9561 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.647, allocations: 1.401 MB / 0.9574 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.6471, allocations: 4 kB / 0.9574 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.6471, allocations: 1.25 kB / 0.9574 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.6472, allocations: 14.17 kB / 0.9575 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.6481, allocations: 273.8 kB / 0.9577 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6482, allocations: 65.53 kB / 0.9578 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.6483, allocations: 4 kB / 0.9578 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.6483, allocations: 6.875 kB / 0.9578 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.6484, allocations: 25.58 kB / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.6484, allocations: 2.75 kB / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.6492, allocations: 0.5346 MB / 0.9583 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.6493, allocations: 22.34 kB / 0.9584 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.6493, allocations: 39.05 kB / 0.9584 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.65, allocations: 355.8 kB / 0.9587 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.65, allocations: 3.938 kB / 0.9587 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.65, allocations: 0 / 0.9587 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.65, allocations: 0 / 0.9587 GB, free: 5.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005328/0.6505, allocations: 409.1 kB / 0.9591 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.6506, allocations: 9.625 kB / 0.9591 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.6509, allocations: 33.44 kB / 0.9592 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6511, allocations: 172.4 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6511, allocations: 5.75 kB / 0.9593 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.6511, allocations: 5.75 kB / 0.9594 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.6512, allocations: 65.09 kB / 0.9594 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.6513, allocations: 3.938 kB / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6513, allocations: 0 / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6513, allocations: 1.375 kB / 0.9594 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.6515, allocations: 62.25 kB / 0.9595 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.6516, allocations: 175.5 kB / 0.9596 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.6518, allocations: 58.05 kB / 0.9597 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.6518, allocations: 29.34 kB / 0.9597 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.6523, allocations: 199.3 kB / 0.9599 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.6524, allocations: 35.88 kB / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.6524, allocations: 0 / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002698/0.6526, allocations: 97.59 kB / 0.96 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.6527, allocations: 56.78 kB / 0.9601 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.6528, allocations: 114.2 kB / 0.9602 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.6528, allocations: 25.7 kB / 0.9602 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.6528, allocations: 85.45 kB / 0.9603 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.6529, allocations: 22.45 kB / 0.9603 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.6529, allocations: 16.47 kB / 0.9604 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.6529, allocations: 312.2 kB / 0.9607 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.653, allocations: 18.98 kB / 0.9607 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.653, allocations: 18.42 kB / 0.9607 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.6531, allocations: 51.2 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6531, allocations: 0 / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001343/0.6533, allocations: 78.14 kB / 0.9608 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6533, allocations: 9.969 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6533, allocations: 0 / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6533, allocations: 1 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.6534, allocations: 10.09 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6534, allocations: 1.156 kB / 0.9608 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.6535, allocations: 13.06 kB / 0.9608 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.6535, allocations: 10.8 kB / 0.9609 GB, free: 3.273 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.51e-05/0.6536, allocations: 109.2 kB / 0.961 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.6536, allocations: 7.062 kB / 0.961 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.6541, allocations: 295.2 kB / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.6542, allocations: 0.75 kB / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6542, allocations: 0.75 kB / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6542, allocations: 0 / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.6543, allocations: 180.4 kB / 0.9614 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6543, allocations: 1.25 kB / 0.9614 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.6544, allocations: 19.48 kB / 0.9614 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6544, allocations: 3.938 kB / 0.9614 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6544, allocations: 5.969 kB / 0.9614 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6545, allocations: 1.031 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6545, allocations: 3.938 kB / 0.9615 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.6546, allocations: 106.4 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.6547, allocations: 91.16 kB / 0.9616 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.6547, allocations: 0.7188 kB / 0.9616 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.6547, allocations: 8.688 kB / 0.9617 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.6548, allocations: 7.219 kB / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.6548, allocations: 3 kB / 0.9617 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.6548, allocations: 92.27 kB / 0.9617 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6548, allocations: 0 / 0.9617 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004527/0.6553, allocations: 107.4 kB / 0.9619 GB, free: 2.445 MB / 0.7169 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 (7): * Single equations (assignments): 7 * 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.0006501/0.6559, allocations: 240.9 kB / 0.9621 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.6561, allocations: 54.41 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6561, allocations: 0.9688 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.6562, allocations: 26.86 kB / 0.9622 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6564, allocations: 17.36 kB / 0.9622 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.6567, allocations: 183 kB / 0.9624 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.6569, allocations: 0.6874 MB / 0.963 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003604/0.6573, allocations: 267.9 kB / 0.9633 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.6573, allocations: 13.16 kB / 0.9633 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6573, allocations: 0.9375 kB / 0.9633 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.006533/0.6639, allocations: 2.783 MB / 0.966 GB, free: 15.87 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches