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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 173 kB / 492.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008963, allocations: 99.88 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.286e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3139, allocations: 142.4 MB / 1.213 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.509, allocations: 149.4 MB / 1.358 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.509, allocations: 99.23 kB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003822/1.513, allocations: 1.313 MB / 1.36 GB, free: 34.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.513, allocations: 0.7188 kB / 1.36 GB, free: 34.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.513, allocations: 3.938 kB / 1.36 GB, free: 34.81 MB / 0.8386 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.0002088/1.513, allocations: 329.2 kB / 1.36 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.513, allocations: 12.7 kB / 1.36 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/1.513, allocations: 105.8 kB / 1.36 GB, free: 34.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/1.513, allocations: 82.59 kB / 1.36 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/1.513, allocations: 251.2 kB / 1.361 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/1.513, allocations: 151.3 kB / 1.361 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/1.513, allocations: 153.8 kB / 1.361 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.883e-05/1.513, allocations: 105 kB / 1.361 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.513, allocations: 80.58 kB / 1.361 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/1.513, allocations: 150.6 kB / 1.361 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/1.514, allocations: 150.6 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/1.514, allocations: 158.4 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/1.514, allocations: 457.5 kB / 1.362 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/1.514, allocations: 168.3 kB / 1.362 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/1.514, allocations: 84.08 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/1.514, allocations: 75.28 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.514, allocations: 109.8 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/1.514, allocations: 0 / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.499e-05/1.514, allocations: 31.17 kB / 1.362 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.514, allocations: 126.7 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.514, allocations: 110.2 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/1.514, allocations: 25.7 kB / 1.363 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/1.514, allocations: 85.31 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/1.514, allocations: 3.938 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.514, allocations: 3.625 kB / 1.363 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.514, allocations: 319.1 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/1.514, allocations: 16.67 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/1.514, allocations: 5.344 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/1.514, allocations: 11.64 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.514, allocations: 0 / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/1.515, allocations: 50.86 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.515, allocations: 7.625 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.515, allocations: 0 / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.515, allocations: 1.547 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/1.515, allocations: 4.062 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/1.515, allocations: 0 / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/1.515, allocations: 1.438 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.515, allocations: 3.844 kB / 1.363 GB, free: 31.38 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.88e-05/1.515, allocations: 180.2 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/1.515, allocations: 113.4 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/1.515, allocations: 114.3 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-05/1.515, allocations: 188.1 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-05/1.515, allocations: 182.4 kB / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/1.515, allocations: 176.3 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/1.515, allocations: 409.6 kB / 1.364 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/1.515, allocations: 110.5 kB / 1.365 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/1.515, allocations: 104.9 kB / 1.365 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.563e-05/1.515, allocations: 181.8 kB / 1.365 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/1.515, allocations: 177 kB / 1.365 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.273e-05/1.515, allocations: 189.5 kB / 1.365 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.261e-05/1.516, allocations: 176.3 kB / 1.365 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/1.516, allocations: 305 kB / 1.366 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/1.516, allocations: 186.7 kB / 1.366 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/1.516, allocations: 185.5 kB / 1.366 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/1.516, allocations: 105 kB / 1.366 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/1.516, allocations: 182.7 kB / 1.366 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/1.516, allocations: 105 kB / 1.366 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.754e-05/1.516, allocations: 96 kB / 1.366 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.122e-06/1.516, allocations: 0 / 1.366 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002527/1.516, allocations: 16.97 kB / 1.366 GB, free: 27.83 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005075/1.517, allocations: 0.8376 MB / 1.367 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.833e-05/1.517, allocations: 13.45 kB / 1.367 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.517, allocations: 0 / 1.367 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.517, allocations: 0 / 1.367 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/1.517, allocations: 0.5174 MB / 1.368 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/1.518, allocations: 175.1 kB / 1.368 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.518, allocations: 0.6774 MB / 1.369 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.978e-06/1.518, allocations: 3.844 kB / 1.369 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/1.518, allocations: 13.84 kB / 1.369 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.518, allocations: 0 / 1.369 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/1.531, allocations: 1.161 MB / 1.37 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/1.531, allocations: 219.4 kB / 1.37 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/3.159, allocations: 0 / 1.37 GB, free: 25.26 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat does not exist to compare? outputFormat=mat