Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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.TimeGeometric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t.1.|t.2.|t.3.|t.4.|t.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t.1.|t.2.|t.3.|t.4.|t.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001773/0.001773, allocations: 194 kB / 16.14 MB, free: 6.691 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.358/2.358, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 67.91 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.6303, allocations: 140.4 MB / 0.949 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.002043/0.6324, allocations: 1.336 MB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.6327, allocations: 139.1 kB / 0.9504 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.6328, allocations: 0 / 0.9504 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.486e-05/0.6329, allocations: 5.312 kB / 0.9504 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.6329, allocations: 0 / 0.9504 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.6331, allocations: 14.86 kB / 0.9504 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.6332, allocations: 34.89 kB / 0.9504 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.6332, allocations: 1.375 kB / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.916e-05/0.6333, allocations: 1.375 kB / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.6333, allocations: 4.125 kB / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.6333, allocations: 0 / 0.9505 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.6334, allocations: 28.34 kB / 0.9505 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.6334, allocations: 8.062 kB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.6335, allocations: 10.69 kB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.6336, allocations: 37.69 kB / 0.9505 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.6336, allocations: 3.938 kB / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.82e-07/0.6336, allocations: 0 / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.6336, allocations: 4 kB / 0.9505 GB, free: 8.066 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002112/0.6338, allocations: 335.1 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.6338, allocations: 9.625 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.6339, allocations: 77.59 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.634, allocations: 242.3 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.634, allocations: 154.9 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.6341, allocations: 156.3 kB / 0.9515 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.429e-05/0.6341, allocations: 101.5 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6341, allocations: 75.47 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.6342, allocations: 155.9 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.6342, allocations: 150.6 kB / 0.9519 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.6342, allocations: 163.8 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.6345, allocations: 448.7 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.6345, allocations: 166.6 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.6346, allocations: 93.5 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.6346, allocations: 75.28 kB / 0.9528 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6346, allocations: 115.2 kB / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6346, allocations: 0 / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.861e-05/0.6347, allocations: 31.02 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.6348, allocations: 126.7 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.6349, allocations: 122.2 kB / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.6349, allocations: 25.7 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.635, allocations: 89.41 kB / 0.9533 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.635, allocations: 4 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.635, allocations: 19.16 kB / 0.9533 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.6351, allocations: 316.2 kB / 0.9536 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.6351, allocations: 5.5 kB / 0.9537 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.6351, allocations: 14.86 kB / 0.9537 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.6352, allocations: 27.92 kB / 0.9537 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6352, allocations: 1.375 kB / 0.9537 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/0.6353, allocations: 51.56 kB / 0.9537 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6354, allocations: 7.438 kB / 0.9538 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6354, allocations: 8 kB / 0.9538 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.6354, allocations: 5.031 kB / 0.9538 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.6354, allocations: 0 / 0.9538 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.6354, allocations: 0 / 0.9538 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.6354, allocations: 9.203 kB / 0.9538 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.6354, allocations: 1.812 kB / 0.9538 GB, free: 4.629 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 5.457e-05/0.6355, allocations: 183.3 kB / 0.954 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.6355, allocations: 114 kB / 0.9541 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.6356, allocations: 117.9 kB / 0.9542 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.6356, allocations: 185.6 kB / 0.9543 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.6356, allocations: 178.1 kB / 0.9545 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6356, allocations: 176.3 kB / 0.9547 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.6358, allocations: 410.4 kB / 0.9551 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.6358, allocations: 105 kB / 0.9552 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.6358, allocations: 106.3 kB / 0.9553 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/0.6359, allocations: 181.9 kB / 0.9555 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.6359, allocations: 184.2 kB / 0.9556 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-05/0.6359, allocations: 181.9 kB / 0.9558 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.768e-05/0.636, allocations: 177.4 kB / 0.956 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.759e-05/0.636, allocations: 311.1 kB / 0.9563 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.6361, allocations: 183.6 kB / 0.9564 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.6361, allocations: 193.7 kB / 0.9566 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.6362, allocations: 102 kB / 0.9567 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.6362, allocations: 185.4 kB / 0.9569 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.6362, allocations: 102.4 kB / 0.957 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.6363, allocations: 89.92 kB / 0.9571 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6363, allocations: 0 / 0.9571 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002495/0.6365, allocations: 9.781 kB / 0.9571 GB, free: 1.043 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 (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.0001867/0.6367, allocations: 191.5 kB / 0.9573 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.6368, allocations: 16.38 kB / 0.9573 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6368, allocations: 5.375 kB / 0.9573 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.6368, allocations: 0 / 0.9573 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.6371, allocations: 0.5237 MB / 0.9578 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.6374, allocations: 187 kB / 0.958 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.6377, allocations: 0.6772 MB / 0.9586 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.127e-05/0.6377, allocations: 0 / 0.9586 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.6377, allocations: 12.61 kB / 0.9587 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.7e-07/0.6377, allocations: 0 / 0.9587 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.002804/0.6405, allocations: 439.6 kB / 0.9591 GB, free: 15.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches