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.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, 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.001671/0.001671, allocations: 191.7 kB / 16.13 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.652 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.338/2.338, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.88 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6719, allocations: 140.4 MB / 0.9491 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.002542/0.6744, allocations: 1.342 MB / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.6748, allocations: 125.8 kB / 0.9505 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.6749, allocations: 5.375 kB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.111e-05/0.675, allocations: 0 / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.675, allocations: 9.297 kB / 0.9505 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.6753, allocations: 16.86 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.736e-05/0.6753, allocations: 26.91 kB / 0.9506 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.6754, allocations: 1.375 kB / 0.9506 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.6754, allocations: 2.75 kB / 0.9506 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.6755, allocations: 6.734 kB / 0.9506 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.6755, allocations: 3.938 kB / 0.9506 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.6756, allocations: 33.72 kB / 0.9506 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.6756, allocations: 6.75 kB / 0.9506 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.6757, allocations: 16.05 kB / 0.9506 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.6758, allocations: 24.34 kB / 0.9507 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6758, allocations: 0 / 0.9507 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6758, allocations: 3.938 kB / 0.9507 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.6758, allocations: 1.375 kB / 0.9507 GB, free: 8.008 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.000264/0.6761, allocations: 331.3 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.6761, allocations: 8.25 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.6762, allocations: 111.3 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.6762, allocations: 80.22 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6763, allocations: 250.3 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.6764, allocations: 152.3 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.6764, allocations: 154.9 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.92e-05/0.6764, allocations: 102.9 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.6765, allocations: 79.22 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.6765, allocations: 154.6 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.6765, allocations: 151.9 kB / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.6765, allocations: 154.5 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.6767, allocations: 454 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.235e-05/0.6768, allocations: 174.6 kB / 0.9529 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.6768, allocations: 84.14 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.6768, allocations: 76.66 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.6769, allocations: 105.8 kB / 0.9532 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.6769, allocations: 7.875 kB / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.408e-05/0.6769, allocations: 35 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.677, allocations: 132.1 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.6771, allocations: 113.8 kB / 0.9534 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.6771, allocations: 25.7 kB / 0.9535 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.983e-05/0.6771, allocations: 85.64 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.6771, allocations: 0 / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.6771, allocations: 18.98 kB / 0.9536 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.6772, allocations: 316.2 kB / 0.9539 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.6772, allocations: 9.688 kB / 0.9539 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.6773, allocations: 6.438 kB / 0.9539 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.6773, allocations: 36.47 kB / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6773, allocations: 5.5 kB / 0.9539 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001138/0.6774, allocations: 51.47 kB / 0.954 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6774, allocations: 9.406 kB / 0.954 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6775, allocations: 0 / 0.954 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6775, allocations: 0 / 0.954 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.6775, allocations: 1.094 kB / 0.954 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6775, allocations: 4.062 kB / 0.954 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.6775, allocations: 9.125 kB / 0.954 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.6775, allocations: 1.156 kB / 0.954 GB, free: 4.453 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 6.107e-05/0.6776, allocations: 192.2 kB / 0.9542 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.6776, allocations: 113.9 kB / 0.9543 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.6777, allocations: 109.7 kB / 0.9544 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.6777, allocations: 177.7 kB / 0.9546 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.6777, allocations: 185.7 kB / 0.9547 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.6777, allocations: 181.6 kB / 0.9549 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.6779, allocations: 409 kB / 0.9553 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.6779, allocations: 102.3 kB / 0.9554 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.6779, allocations: 101 kB / 0.9555 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.678, allocations: 189.3 kB / 0.9557 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.678, allocations: 181.5 kB / 0.9559 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.226e-05/0.678, allocations: 181.4 kB / 0.956 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.28e-05/0.678, allocations: 181.2 kB / 0.9562 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.968e-05/0.6781, allocations: 307.4 kB / 0.9565 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.6781, allocations: 184.4 kB / 0.9567 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.6782, allocations: 193.6 kB / 0.9569 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.6782, allocations: 101 kB / 0.957 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.6783, allocations: 181.9 kB / 0.9571 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6783, allocations: 106 kB / 0.9572 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.6783, allocations: 86.05 kB / 0.9573 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6783, allocations: 5.531 kB / 0.9573 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002573/0.6786, allocations: 16.62 kB / 0.9573 GB, free: 0.8594 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.0003015/0.6789, allocations: 0.8258 MB / 0.9581 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.346e-05/0.679, allocations: 16.27 kB / 0.9582 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.679, allocations: 4.062 kB / 0.9582 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.679, allocations: 0 / 0.9582 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.6794, allocations: 0.5247 MB / 0.9587 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.6806, allocations: 1.344 MB / 0.96 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.6809, allocations: 0.6822 MB / 0.9606 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.064e-05/0.6809, allocations: 0 / 0.9606 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.681, allocations: 8.938 kB / 0.9607 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of SimCode: time 1.522e-06/0.681, allocations: 0 / 0.9607 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.6935, allocations: 1.27 MB / 0.9619 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/0.6939, allocations: 275.2 kB / 0.9622 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.323, allocations: 0 / 0.9622 GB, free: 12.5 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.fmu > 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/jenkins1/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