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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001637/0.001638, allocations: 100 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.002157/0.002157, allocations: 177.3 kB / 15.95 MB, free: 216 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.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.389/2.389, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 12 kB / 0.8147 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.7434, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001576/0.745, allocations: 1.12 MB / 0.9547 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.7487, allocations: 2.579 MB / 0.9573 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.7487, allocations: 0 / 0.9573 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.7488, allocations: 3.938 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.7489, allocations: 18.23 kB / 0.9573 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.753, allocations: 1.242 MB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.7531, allocations: 34.47 kB / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.7532, allocations: 1.812 kB / 0.9585 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.7532, allocations: 20.92 kB / 0.9586 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.7533, allocations: 15.11 kB / 0.9586 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.7533, allocations: 5.75 kB / 0.9586 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.7556, allocations: 1.203 MB / 0.9597 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.7556, allocations: 0.9375 kB / 0.9597 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.7557, allocations: 34.02 kB / 0.9598 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.7567, allocations: 0.7103 MB / 0.9605 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.7568, allocations: 5.125 kB / 0.9605 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7568, allocations: 0 / 0.9605 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7568, allocations: 0 / 0.9605 GB, free: 3.262 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.0005242/0.7573, allocations: 0.5143 MB / 0.961 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.7573, allocations: 9.094 kB / 0.961 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.7574, allocations: 105.8 kB / 0.9611 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.7574, allocations: 81.22 kB / 0.9612 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7576, allocations: 252.8 kB / 0.9614 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.7576, allocations: 154.5 kB / 0.9616 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.7576, allocations: 155.6 kB / 0.9617 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.005e-05/0.7577, allocations: 110 kB / 0.9618 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7577, allocations: 79.27 kB / 0.9619 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.7577, allocations: 154.5 kB / 0.962 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.7577, allocations: 155.4 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.7578, allocations: 151.4 kB / 0.9623 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.758, allocations: 465.4 kB / 0.9628 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.758, allocations: 170.6 kB / 0.9629 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.758, allocations: 75.28 kB / 0.963 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.7581, allocations: 106.6 kB / 0.9631 GB, free: 488 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7581, allocations: 0.75 kB / 0.9631 GB, free: 488 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.609e-05/0.7581, allocations: 40.53 kB / 0.9631 GB, free: 444 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.7582, allocations: 138.6 kB / 0.9633 GB, free: 292 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.7583, allocations: 128.6 kB / 0.9634 GB, free: 176 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.7583, allocations: 26.7 kB / 0.9634 GB, free: 144 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.7584, allocations: 90.11 kB / 0.9635 GB, free: 52 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.7584, allocations: 1.031 kB / 0.9635 GB, free: 52 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.7584, allocations: 0 / 0.9635 GB, free: 52 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7586, allocations: 320.8 kB / 0.9638 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.7586, allocations: 7.156 kB / 0.9638 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.7586, allocations: 3.094 kB / 0.9638 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.7587, allocations: 8.719 kB / 0.9638 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7587, allocations: 0 / 0.9638 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.7588, allocations: 52.5 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7588, allocations: 4.906 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.7589, allocations: 3.125 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.7589, allocations: 0 / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-06/0.7589, allocations: 1.125 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7589, allocations: 7.891 kB / 0.9639 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.7589, allocations: 8.938 kB / 0.9639 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.759, allocations: 1.406 kB / 0.9639 GB, free: 15.66 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.000115/0.7591, allocations: 182.7 kB / 0.9641 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.7591, allocations: 111.9 kB / 0.9642 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.837e-05/0.7592, allocations: 115.5 kB / 0.9643 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.7593, allocations: 180.2 kB / 0.9645 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.222e-05/0.7594, allocations: 185.4 kB / 0.9647 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.417e-05/0.7595, allocations: 185.2 kB / 0.9648 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.7598, allocations: 415.9 kB / 0.9652 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-05/0.7598, allocations: 102.1 kB / 0.9653 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.7599, allocations: 106 kB / 0.9654 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.535e-05/0.76, allocations: 181.4 kB / 0.9656 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/0.7601, allocations: 181.5 kB / 0.9658 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.304e-05/0.7602, allocations: 185.7 kB / 0.9659 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.509e-05/0.7603, allocations: 184.2 kB / 0.9661 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.7604, allocations: 308.8 kB / 0.9664 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.7605, allocations: 192.5 kB / 0.9666 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.7606, allocations: 177.5 kB / 0.9668 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.7607, allocations: 106.4 kB / 0.9669 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.7608, allocations: 176.3 kB / 0.967 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.7608, allocations: 102.4 kB / 0.9671 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.7609, allocations: 110.6 kB / 0.9672 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7609, allocations: 4 kB / 0.9672 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009605/0.7619, allocations: 275.8 kB / 0.9675 GB, free: 12 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.001326/0.7632, allocations: 1.14 MB / 0.9686 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.7634, allocations: 38.58 kB / 0.9687 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7634, allocations: 4.062 kB / 0.9687 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.7634, allocations: 1.391 kB / 0.9687 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.7638, allocations: 0.5296 MB / 0.9692 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007672/0.7646, allocations: 0.5582 MB / 0.9697 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.7649, allocations: 0.6865 MB / 0.9704 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.668e-05/0.7649, allocations: 0 / 0.9704 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.7649, allocations: 21.39 kB / 0.9704 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7649, allocations: 0 / 0.9704 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.7871, allocations: 6.802 MB / 0.9771 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.7874, allocations: 265.8 kB / 0.9773 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.845, allocations: 3.938 kB / 0.9773 GB, free: 5.508 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.mat does not exist to compare? outputFormat=mat