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_Integrand.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_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.1.|y.2.|y.3.|y.4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008408, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005755/0.005755, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.332/2.332, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 12 kB / 0.816 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.6279, 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_Integrand): time 0.0006118/0.6285, allocations: 309.8 kB / 0.9554 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.6306, allocations: 1.612 MB / 0.9569 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.6307, allocations: 0 / 0.9569 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.6307, allocations: 3.938 kB / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.6308, allocations: 5.219 kB / 0.957 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.6315, allocations: 157.2 kB / 0.9571 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.6315, allocations: 22.55 kB / 0.9571 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.6316, allocations: 1.344 kB / 0.9571 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.6316, allocations: 7.938 kB / 0.9571 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.6317, allocations: 11.95 kB / 0.9571 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.6317, allocations: 1.312 kB / 0.9571 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.6323, allocations: 301 kB / 0.9574 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.6323, allocations: 11.17 kB / 0.9574 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.6323, allocations: 41.38 kB / 0.9575 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.6326, allocations: 171 kB / 0.9576 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6327, allocations: 1.656 kB / 0.9576 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6327, allocations: 0 / 0.9576 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.6327, allocations: 0 / 0.9576 GB, free: 5.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002753/0.633, allocations: 362 kB / 0.958 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.633, allocations: 10.22 kB / 0.958 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.6337, allocations: 74.61 kB / 0.9581 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.6338, allocations: 165.7 kB / 0.9582 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.6339, allocations: 6.125 kB / 0.9582 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.6339, allocations: 1.938 kB / 0.9582 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6341, allocations: 87.69 kB / 0.9583 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.6341, allocations: 1.75 kB / 0.9583 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.6341, allocations: 3.984 kB / 0.9583 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6341, allocations: 0 / 0.9583 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.6343, allocations: 85.78 kB / 0.9584 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.6345, allocations: 187.9 kB / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.6347, allocations: 85.56 kB / 0.9587 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.468e-05/0.6348, allocations: 42.83 kB / 0.9587 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.6348, allocations: 1.375 kB / 0.9587 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.6348, allocations: 39.81 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.6348, allocations: 0 / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000344/0.6352, allocations: 148.4 kB / 0.9589 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.6352, allocations: 52.78 kB / 0.9589 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.6353, allocations: 104.7 kB / 0.959 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.6353, allocations: 27.08 kB / 0.9591 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.6353, allocations: 84.14 kB / 0.9591 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.6354, allocations: 14.56 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.6354, allocations: 11.09 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.6355, allocations: 320.2 kB / 0.9595 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.6355, allocations: 27.09 kB / 0.9595 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.6356, allocations: 32.47 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.6357, allocations: 75.12 kB / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6357, allocations: 0 / 0.9596 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001806/0.6359, allocations: 111.5 kB / 0.9597 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6359, allocations: 12.06 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6359, allocations: 1.375 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6359, allocations: 0 / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.6361, allocations: 22.91 kB / 0.9597 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6361, allocations: 64 / 0.9597 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.6363, allocations: 12.12 kB / 0.9598 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.6363, allocations: 5.359 kB / 0.9598 GB, free: 3.992 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 (5): * Single equations (assignments): 5 * 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 6.788e-05/0.6363, allocations: 114 kB / 0.9599 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.6364, allocations: 9.219 kB / 0.9599 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.6367, allocations: 222.4 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6368, allocations: 1.938 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6368, allocations: 0 / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6368, allocations: 1.375 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.6369, allocations: 214.9 kB / 0.9603 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6369, allocations: 0.9688 kB / 0.9603 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.6371, allocations: 25.12 kB / 0.9603 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6371, allocations: 12.89 kB / 0.9603 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.6371, allocations: 5.156 kB / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6371, allocations: 0.9688 kB / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6371, allocations: 0 / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.6374, allocations: 191 kB / 0.9605 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.6374, allocations: 88.3 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.6374, allocations: 1.031 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.6375, allocations: 10.03 kB / 0.9606 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.6375, allocations: 8.328 kB / 0.9606 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.6376, allocations: 3.219 kB / 0.9606 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.6376, allocations: 92.7 kB / 0.9607 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6376, allocations: 0 / 0.9607 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003272/0.6379, allocations: 68.45 kB / 0.9608 GB, free: 3.121 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 (16): * Single equations (assignments): 16 * 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.0003655/0.6383, allocations: 190.5 kB / 0.961 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.6385, allocations: 107.2 kB / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6385, allocations: 0 / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.6386, allocations: 80.64 kB / 0.9611 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.6388, allocations: 7.016 kB / 0.9612 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.6392, allocations: 233.1 kB / 0.9614 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.6393, allocations: 0.6969 MB / 0.9621 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.6394, allocations: 31.06 kB / 0.9621 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.6395, allocations: 18.48 kB / 0.9621 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.6395, allocations: 3.938 kB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.005043/0.6445, allocations: 2.344 MB / 0.9644 GB, free: 0.8203 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches