Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001013/0.001013, allocations: 99.55 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.001099/0.001099, 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.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.53/2.53, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 12 kB / 0.8147 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8458, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00146/0.8473, allocations: 1.114 MB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.8509, allocations: 2.548 MB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.851, allocations: 4 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.851, allocations: 1.094 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.8511, allocations: 13.19 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.8542, allocations: 1.211 MB / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.8543, allocations: 29.88 kB / 0.9585 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.8543, allocations: 10.06 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.8543, allocations: 14.97 kB / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.8544, allocations: 14.83 kB / 0.9585 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.8544, allocations: 1.156 kB / 0.9585 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.8561, allocations: 1.159 MB / 0.9596 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.8561, allocations: 9.297 kB / 0.9596 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.8562, allocations: 29.83 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.8571, allocations: 0.6994 MB / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.8571, allocations: 0 / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8571, allocations: 0 / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.8572, allocations: 4 kB / 0.9603 GB, free: 3.406 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.000484/0.8576, allocations: 0.5051 MB / 0.9608 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.8577, allocations: 12.45 kB / 0.9609 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.8577, allocations: 111.1 kB / 0.961 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.8578, allocations: 80.59 kB / 0.961 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.8579, allocations: 248.8 kB / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.8579, allocations: 150.6 kB / 0.9614 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.858, allocations: 155.5 kB / 0.9616 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.226e-05/0.858, allocations: 102 kB / 0.9617 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.858, allocations: 75.28 kB / 0.9617 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.8581, allocations: 154.6 kB / 0.9619 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.8581, allocations: 159.5 kB / 0.962 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.8582, allocations: 159.6 kB / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.8583, allocations: 461.3 kB / 0.9626 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.784e-05/0.8584, allocations: 170.1 kB / 0.9628 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.8584, allocations: 75.28 kB / 0.9629 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8584, allocations: 111 kB / 0.963 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.8584, allocations: 0 / 0.963 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.842e-05/0.8585, allocations: 40.91 kB / 0.963 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.8586, allocations: 126.7 kB / 0.9631 GB, free: 460 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.8587, allocations: 143.6 kB / 0.9633 GB, free: 328 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.8587, allocations: 25.7 kB / 0.9633 GB, free: 296 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.8587, allocations: 90.14 kB / 0.9634 GB, free: 204 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.8587, allocations: 0 / 0.9634 GB, free: 204 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.8588, allocations: 5.156 kB / 0.9634 GB, free: 200 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8589, allocations: 316 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.8589, allocations: 3.344 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.8589, allocations: 7.125 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.859, allocations: 3.312 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.859, allocations: 1.156 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.8591, allocations: 53.94 kB / 0.9637 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8591, allocations: 4.844 kB / 0.9637 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.8591, allocations: 7 kB / 0.9638 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8592, allocations: 5.094 kB / 0.9638 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.8592, allocations: 0 / 0.9638 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8592, allocations: 0 / 0.9638 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.8592, allocations: 4.922 kB / 0.9638 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.8592, allocations: 1 kB / 0.9638 GB, free: 15.82 MB / 0.7325 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: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001176/0.8593, allocations: 187.3 kB / 0.9639 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.8594, allocations: 112.1 kB / 0.9641 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.8595, allocations: 118.7 kB / 0.9642 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/0.8596, allocations: 181.4 kB / 0.9643 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.83e-05/0.8596, allocations: 181.6 kB / 0.9645 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-05/0.8597, allocations: 180.2 kB / 0.9647 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.86, allocations: 416.2 kB / 0.9651 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/0.86, allocations: 106.1 kB / 0.9652 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.8601, allocations: 105 kB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.8602, allocations: 181.5 kB / 0.9655 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/0.8602, allocations: 181.6 kB / 0.9656 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.228e-05/0.8603, allocations: 177.6 kB / 0.9658 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.593e-05/0.8604, allocations: 181.3 kB / 0.966 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.8606, allocations: 316.4 kB / 0.9663 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.569e-05/0.8607, allocations: 183.3 kB / 0.9664 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.8608, allocations: 181.5 kB / 0.9666 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.8609, allocations: 114.2 kB / 0.9667 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.8609, allocations: 177.5 kB / 0.9669 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.861, allocations: 117.7 kB / 0.967 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.421e-05/0.8611, allocations: 96.27 kB / 0.9671 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8611, allocations: 0.9688 kB / 0.9671 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009296/0.862, allocations: 276.1 kB / 0.9674 GB, free: 12.14 MB / 0.7325 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.00135/0.8634, allocations: 1.137 MB / 0.9685 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.8635, allocations: 33.92 kB / 0.9685 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8635, allocations: 0 / 0.9685 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.8635, allocations: 7.938 kB / 0.9685 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.8639, allocations: 0.5265 MB / 0.969 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007545/0.8647, allocations: 0.5493 MB / 0.9696 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.865, allocations: 0.6965 MB / 0.9702 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.398e-05/0.865, allocations: 1.312 kB / 0.9702 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.865, allocations: 16.45 kB / 0.9703 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.865, allocations: 1 kB / 0.9703 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.8892, allocations: 6.562 MB / 0.9767 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/0.8895, allocations: 260.4 kB / 0.9769 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.848, allocations: 1.406 kB / 0.9769 GB, free: 5.785 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat