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.1-maint.9.1.x/package.mo", uses=false) 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) 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.001181/0.001181, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001293/0.001293, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003451, allocations: 8 kB / 0.8147 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.906/0.9063, allocations: 142.3 MB / 0.9536 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.001578/0.9079, allocations: 0.9972 MB / 0.9546 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000332/0.9083, allocations: 119.1 kB / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.9083, allocations: 0 / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.917e-05/0.9084, allocations: 0 / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.57e-05/0.9085, allocations: 1.281 kB / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.9087, allocations: 25.05 kB / 0.9547 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.9088, allocations: 4.812 kB / 0.9547 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.9088, allocations: 4 kB / 0.9547 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.9089, allocations: 5.406 kB / 0.9548 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.113e-05/0.9089, allocations: 6.422 kB / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.9089, allocations: 0 / 0.9548 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.909, allocations: 23.94 kB / 0.9548 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.9091, allocations: 7.844 kB / 0.9548 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.9091, allocations: 26.83 kB / 0.9548 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.926e-05/0.9092, allocations: 20.59 kB / 0.9548 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9092, allocations: 1 kB / 0.9548 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9092, allocations: 3.938 kB / 0.9548 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.9092, allocations: 4 kB / 0.9548 GB, free: 7.27 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.0002697/0.9095, allocations: 337.2 kB / 0.9552 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9096, allocations: 9.375 kB / 0.9552 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.9096, allocations: 106.9 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.9097, allocations: 80.23 kB / 0.9554 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.9098, allocations: 236.4 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.9098, allocations: 155.7 kB / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.9099, allocations: 158.5 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.521e-05/0.9099, allocations: 106.1 kB / 0.956 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.91, allocations: 75.28 kB / 0.956 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.91, allocations: 156 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.91, allocations: 154.5 kB / 0.9563 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.9101, allocations: 158.5 kB / 0.9565 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.9103, allocations: 458.7 kB / 0.9569 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.9104, allocations: 166.1 kB / 0.9571 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.9104, allocations: 75.28 kB / 0.9572 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.9104, allocations: 118.8 kB / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.9104, allocations: 0 / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.667e-05/0.9105, allocations: 27.27 kB / 0.9573 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.9106, allocations: 131.4 kB / 0.9574 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.9107, allocations: 109.5 kB / 0.9575 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.9107, allocations: 26.95 kB / 0.9576 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.9107, allocations: 85.56 kB / 0.9576 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.9107, allocations: 0 / 0.9576 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.9107, allocations: 4 kB / 0.9576 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.9108, allocations: 320.1 kB / 0.9579 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.9109, allocations: 5.625 kB / 0.958 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.9109, allocations: 10.86 kB / 0.958 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/0.9109, allocations: 11.38 kB / 0.958 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9109, allocations: 1 kB / 0.958 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001523/0.9111, allocations: 63.03 kB / 0.958 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9111, allocations: 6.594 kB / 0.958 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9111, allocations: 0 / 0.958 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.9112, allocations: 1.219 kB / 0.958 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.9112, allocations: 4 kB / 0.958 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.9112, allocations: 0 / 0.958 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.9112, allocations: 5.469 kB / 0.9581 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.9112, allocations: 1.094 kB / 0.9581 GB, free: 3.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.9113, allocations: 187.6 kB / 0.9582 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.9114, allocations: 110.1 kB / 0.9583 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.9114, allocations: 109.3 kB / 0.9584 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/0.9115, allocations: 185.8 kB / 0.9586 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.736e-05/0.9115, allocations: 181.8 kB / 0.9588 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.9116, allocations: 180.3 kB / 0.959 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.9118, allocations: 414.6 kB / 0.9594 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/0.9118, allocations: 102.4 kB / 0.9595 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.9118, allocations: 110 kB / 0.9596 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.564e-05/0.9119, allocations: 181.7 kB / 0.9597 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.9119, allocations: 180.2 kB / 0.9599 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-05/0.912, allocations: 181.5 kB / 0.9601 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.201e-05/0.912, allocations: 181.3 kB / 0.9603 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/0.9121, allocations: 315.1 kB / 0.9606 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.9122, allocations: 184.2 kB / 0.9607 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.9123, allocations: 185.3 kB / 0.9609 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.9123, allocations: 106.3 kB / 0.961 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.9124, allocations: 177.3 kB / 0.9612 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.9124, allocations: 110 kB / 0.9613 GB, free: 340 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.9125, allocations: 90.27 kB / 0.9614 GB, free: 256 kB / 0.7169 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9125, allocations: 0 / 0.9614 GB, free: 256 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003154/0.9128, allocations: 14 kB / 0.9614 GB, free: 252 kB / 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 (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.0004998/0.9133, allocations: 0.825 MB / 0.9622 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.8e-05/0.9134, allocations: 12.69 kB / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9134, allocations: 0 / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.9134, allocations: 4 kB / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.9137, allocations: 0.5208 MB / 0.9627 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.9142, allocations: 377.8 kB / 0.9631 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.9144, allocations: 0.6795 MB / 0.9637 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.17e-05/0.9145, allocations: 0 / 0.9637 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.9145, allocations: 12.72 kB / 0.9637 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9145, allocations: 3.938 kB / 0.9638 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.926, allocations: 1.177 MB / 0.9649 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.9263, allocations: 255.4 kB / 0.9651 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.662, allocations: 0.5625 kB / 0.9651 GB, free: 12.95 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/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