Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001231/0.001231, allocations: 191.3 kB / 0.4901 GB, free: 2.242 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.001028/0.001028, allocations: 104.1 kB / 0.9396 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 11.38 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.527, allocations: 153.6 MB / 1.379 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.5274, allocations: 107.9 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.5513, allocations: 7.77 MB / 1.387 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5513, allocations: 3.938 kB / 1.387 GB, free: 3.621 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.5514, allocations: 0 / 1.387 GB, free: 3.621 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006568/0.552, allocations: 450.9 kB / 1.387 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5521, allocations: 12.52 kB / 1.387 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.5521, allocations: 42.48 kB / 1.388 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.5525, allocations: 35.83 kB / 1.388 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.5526, allocations: 171.1 kB / 1.388 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.5527, allocations: 0 / 1.388 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.5527, allocations: 4 kB / 1.388 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.5528, allocations: 53.61 kB / 1.388 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5528, allocations: 0 / 1.388 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5529, allocations: 8 kB / 1.388 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5529, allocations: 4 kB / 1.388 GB, free: 2.754 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.553, allocations: 55.92 kB / 1.388 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.5533, allocations: 181.7 kB / 1.388 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.5534, allocations: 58.55 kB / 1.388 GB, free: 2.406 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/0.5541, allocations: 375.3 kB / 1.388 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.5541, allocations: 38.5 kB / 1.388 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.103e-06/0.5541, allocations: 0 / 1.388 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002814/0.5544, allocations: 93.56 kB / 1.389 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.5545, allocations: 55.41 kB / 1.389 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.5546, allocations: 101 kB / 1.389 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.5546, allocations: 29.7 kB / 1.389 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.5547, allocations: 88.14 kB / 1.389 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.5547, allocations: 19.75 kB / 1.389 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.5547, allocations: 0 / 1.389 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5548, allocations: 322.8 kB / 1.389 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.5549, allocations: 15.98 kB / 1.389 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.5549, allocations: 15.98 kB / 1.389 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.555, allocations: 24.31 kB / 1.389 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.555, allocations: 0 / 1.389 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001443/0.5551, allocations: 85.56 kB / 1.389 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5552, allocations: 8 kB / 1.389 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5552, allocations: 0 / 1.389 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5552, allocations: 0 / 1.389 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5553, allocations: 16 kB / 1.389 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5553, allocations: 0 / 1.389 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.5554, allocations: 4 kB / 1.389 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.5554, allocations: 0 / 1.389 GB, free: 1.027 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 0.0001034/0.5555, allocations: 126.6 kB / 1.389 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.5555, allocations: 11.84 kB / 1.389 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.5561, allocations: 298.4 kB / 1.39 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5561, allocations: 3.938 kB / 1.39 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5561, allocations: 4 kB / 1.39 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5561, allocations: 0 / 1.39 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.5563, allocations: 173.6 kB / 1.39 GB, free: 368 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5563, allocations: 0 / 1.39 GB, free: 368 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.5564, allocations: 19.98 kB / 1.39 GB, free: 348 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.5564, allocations: 4 kB / 1.39 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5564, allocations: 0 / 1.39 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5564, allocations: 0 / 1.39 GB, free: 344 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5564, allocations: 4.062 kB / 1.39 GB, free: 340 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.5566, allocations: 120.9 kB / 1.39 GB, free: 200 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.5566, allocations: 81.02 kB / 1.39 GB, free: 100 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5567, allocations: 3.984 kB / 1.39 GB, free: 96 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.5567, allocations: 4 kB / 1.39 GB, free: 92 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.5567, allocations: 4 kB / 1.39 GB, free: 88 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5568, allocations: 4 kB / 1.39 GB, free: 84 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.5568, allocations: 91.27 kB / 1.39 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5568, allocations: 4 kB / 1.39 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004916/0.5573, allocations: 151.7 kB / 1.39 GB, free: 15.84 MB / 0.9011 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 (7): * Single equations (assignments): 7 * 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.001109/0.5585, allocations: 0.8432 MB / 1.391 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.5586, allocations: 35.98 kB / 1.391 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5586, allocations: 0 / 1.391 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.344e-05/0.5587, allocations: 35.91 kB / 1.391 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.5589, allocations: 17.75 kB / 1.391 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/0.5599, allocations: 0.5954 MB / 1.392 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.5601, allocations: 0.6887 MB / 1.393 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003747/0.5605, allocations: 267.3 kB / 1.393 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.5606, allocations: 19.48 kB / 1.393 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.5606, allocations: 0 / 1.393 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.5775, allocations: 3.587 MB / 1.396 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.5777, allocations: 265.1 kB / 1.397 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.298, allocations: 0 / 1.397 GB, free: 9.551 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.mat does not exist to compare? outputFormat=mat