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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001261/0.001262, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001675/0.001675, allocations: 168.7 kB / 15.95 MB, free: 204 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.442/1.442, allocations: 223.2 MB / 240 MB, free: 5.352 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.424/2.424, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003522, allocations: 8.219 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.734, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00154/0.7356, allocations: 1.134 MB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003793/0.7394, allocations: 2.603 MB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.7395, allocations: 1.062 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.7395, allocations: 3.984 kB / 0.9576 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.7396, allocations: 13.08 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.7424, allocations: 1.241 MB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.7424, allocations: 39.89 kB / 0.9588 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.7425, allocations: 5.688 kB / 0.9588 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.7425, allocations: 15.06 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.987e-05/0.7425, allocations: 15.14 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.7426, allocations: 2.125 kB / 0.9589 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.7442, allocations: 1.208 MB / 0.96 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.7443, allocations: 12.94 kB / 0.9601 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.7443, allocations: 29.73 kB / 0.9601 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009311/0.7452, allocations: 0.6874 MB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7453, allocations: 0.9688 kB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7453, allocations: 0 / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.7453, allocations: 0 / 0.9608 GB, free: 3.316 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.0004727/0.7458, allocations: 0.5087 MB / 0.9613 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7458, allocations: 8.938 kB / 0.9613 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.7458, allocations: 115.1 kB / 0.9614 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.7459, allocations: 80.53 kB / 0.9615 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.746, allocations: 247.8 kB / 0.9617 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.7461, allocations: 155.7 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.7461, allocations: 150.6 kB / 0.962 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.129e-05/0.7461, allocations: 102.3 kB / 0.9621 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.7462, allocations: 75.28 kB / 0.9622 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.7462, allocations: 154.5 kB / 0.9623 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.7462, allocations: 163.9 kB / 0.9625 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.7463, allocations: 158.5 kB / 0.9626 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.7465, allocations: 457.9 kB / 0.963 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.7465, allocations: 170.2 kB / 0.9632 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.7465, allocations: 84.14 kB / 0.9633 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.7465, allocations: 76.16 kB / 0.9634 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.7466, allocations: 106.8 kB / 0.9635 GB, free: 464 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.7466, allocations: 3.938 kB / 0.9635 GB, free: 460 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.334e-05/0.7466, allocations: 31.89 kB / 0.9635 GB, free: 424 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.7467, allocations: 131.7 kB / 0.9636 GB, free: 280 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7468, allocations: 139.3 kB / 0.9638 GB, free: 152 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-06/0.7468, allocations: 25.7 kB / 0.9638 GB, free: 120 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.7469, allocations: 95.44 kB / 0.9639 GB, free: 24 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.7469, allocations: 0 / 0.9639 GB, free: 24 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.7469, allocations: 0 / 0.9639 GB, free: 24 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.747, allocations: 317.1 kB / 0.9642 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.7471, allocations: 6.781 kB / 0.9642 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.7471, allocations: 3.062 kB / 0.9642 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.7471, allocations: 3.719 kB / 0.9642 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7471, allocations: 4.031 kB / 0.9642 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001371/0.7473, allocations: 55.12 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7473, allocations: 5.406 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.7473, allocations: 1.969 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.7473, allocations: 1.031 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.7473, allocations: 0 / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.7473, allocations: 1.031 kB / 0.9642 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.7474, allocations: 3.953 kB / 0.9643 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.7474, allocations: 5.344 kB / 0.9643 GB, free: 15.64 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.0001089/0.7475, allocations: 191.7 kB / 0.9644 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.7476, allocations: 107.5 kB / 0.9645 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.7476, allocations: 119 kB / 0.9647 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.608e-05/0.7477, allocations: 184.2 kB / 0.9648 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.421e-05/0.7478, allocations: 185.5 kB / 0.965 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.7478, allocations: 177.6 kB / 0.9652 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.7481, allocations: 419.1 kB / 0.9656 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/0.7481, allocations: 106.2 kB / 0.9657 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.7482, allocations: 102.1 kB / 0.9658 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-05/0.7482, allocations: 185.4 kB / 0.966 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.7483, allocations: 177.5 kB / 0.9661 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.1e-05/0.7484, allocations: 184.2 kB / 0.9663 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.119e-05/0.7485, allocations: 177.4 kB / 0.9665 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.7486, allocations: 317.3 kB / 0.9668 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.7487, allocations: 184 kB / 0.9669 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.7488, allocations: 181.3 kB / 0.9671 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.7489, allocations: 110.7 kB / 0.9672 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.749, allocations: 181.4 kB / 0.9674 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.749, allocations: 108.9 kB / 0.9675 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.7491, allocations: 97.39 kB / 0.9676 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7491, allocations: 0 / 0.9676 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008427/0.75, allocations: 280.1 kB / 0.9679 GB, free: 11.96 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.001309/0.7513, allocations: 1.135 MB / 0.969 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.7514, allocations: 36.92 kB / 0.969 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7514, allocations: 4 kB / 0.969 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7514, allocations: 0 / 0.969 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.7518, allocations: 0.5367 MB / 0.9695 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008971/0.7527, allocations: 0.6745 MB / 0.9702 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.753, allocations: 0.6842 MB / 0.9709 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.753, allocations: 0 / 0.9709 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.7531, allocations: 17.88 kB / 0.9709 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7531, allocations: 3.938 kB / 0.9709 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.784, allocations: 6.633 MB / 0.9774 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/0.7845, allocations: 285 kB / 0.9776 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.735, allocations: 1.062 kB / 0.9776 GB, free: 5.527 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative_res.mat does not exist to compare? outputFormat=mat