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.001487/0.001487, allocations: 99.86 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.001862/0.001861, 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.535/2.535, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003974, allocations: 12 kB / 0.8147 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8388, allocations: 142.3 MB / 0.9537 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00122/0.84, allocations: 1.111 MB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.8432, allocations: 2.544 MB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.8432, allocations: 0 / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.8433, allocations: 0 / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.8433, allocations: 22.27 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.8463, allocations: 1.201 MB / 0.9584 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.8463, allocations: 25.7 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.8464, allocations: 6.656 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.8464, allocations: 18.8 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.824e-05/0.8464, allocations: 10.81 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.8465, allocations: 1.375 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.8481, allocations: 1.162 MB / 0.9596 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.8482, allocations: 5.312 kB / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.8482, allocations: 33.83 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009091/0.8491, allocations: 0.6991 MB / 0.9603 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8491, allocations: 0 / 0.9603 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8491, allocations: 0.7812 kB / 0.9603 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.8491, allocations: 3.938 kB / 0.9603 GB, free: 3.418 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.0004609/0.8496, allocations: 0.5088 MB / 0.9608 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.8497, allocations: 9.156 kB / 0.9608 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.8497, allocations: 113.7 kB / 0.961 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.8497, allocations: 81.97 kB / 0.961 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.8499, allocations: 251.8 kB / 0.9613 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.8499, allocations: 150.6 kB / 0.9614 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.8499, allocations: 155.8 kB / 0.9616 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.236e-05/0.85, allocations: 101 kB / 0.9617 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.85, allocations: 76.28 kB / 0.9617 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.85, allocations: 154.6 kB / 0.9619 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.85, allocations: 163.3 kB / 0.962 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.8501, allocations: 159.5 kB / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.8503, allocations: 461.1 kB / 0.9626 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.449e-05/0.8503, allocations: 170.2 kB / 0.9628 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.8503, allocations: 75.28 kB / 0.9629 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.8504, allocations: 107 kB / 0.963 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.8504, allocations: 0 / 0.963 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.874e-05/0.8504, allocations: 36.42 kB / 0.963 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.8505, allocations: 127.8 kB / 0.9631 GB, free: 468 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8506, allocations: 138.7 kB / 0.9633 GB, free: 340 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.8506, allocations: 34.94 kB / 0.9633 GB, free: 300 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.8506, allocations: 90.55 kB / 0.9634 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.8507, allocations: 0 / 0.9634 GB, free: 208 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.8507, allocations: 4 kB / 0.9634 GB, free: 204 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8508, allocations: 312.1 kB / 0.9637 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.8508, allocations: 7.484 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.8508, allocations: 6.344 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.8508, allocations: 4.781 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8509, allocations: 0 / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.851, allocations: 55.33 kB / 0.9637 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.851, allocations: 4.969 kB / 0.9637 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.851, allocations: 6.641 kB / 0.9638 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.851, allocations: 0 / 0.9638 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.8511, allocations: 0 / 0.9638 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8511, allocations: 1.312 kB / 0.9638 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.8511, allocations: 3.953 kB / 0.9638 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.8511, allocations: 1.312 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.0001297/0.8512, allocations: 187.8 kB / 0.9639 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.8513, allocations: 107.2 kB / 0.964 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.8514, allocations: 122.3 kB / 0.9642 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/0.8515, allocations: 177 kB / 0.9643 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-05/0.8516, allocations: 185.3 kB / 0.9645 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/0.8517, allocations: 177.5 kB / 0.9647 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.852, allocations: 420.5 kB / 0.9651 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/0.8521, allocations: 108.9 kB / 0.9652 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.8521, allocations: 102.4 kB / 0.9653 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.8523, allocations: 181.5 kB / 0.9654 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.8524, allocations: 177.4 kB / 0.9656 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001095/0.8525, allocations: 180.2 kB / 0.9658 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.24e-05/0.8525, allocations: 193.5 kB / 0.966 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.8527, allocations: 308.8 kB / 0.9663 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.8528, allocations: 184.3 kB / 0.9664 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.8529, allocations: 181.5 kB / 0.9666 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.853, allocations: 114.2 kB / 0.9667 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.8531, allocations: 177.4 kB / 0.9669 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.8531, allocations: 106.2 kB / 0.967 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.465e-05/0.8532, allocations: 96.83 kB / 0.9671 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8532, allocations: 3.938 kB / 0.9671 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009391/0.8541, allocations: 280.1 kB / 0.9674 GB, free: 12.15 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.001485/0.8556, allocations: 1.134 MB / 0.9685 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.8557, allocations: 36.89 kB / 0.9685 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8558, allocations: 0 / 0.9685 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.8558, allocations: 5.562 kB / 0.9685 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.8563, allocations: 0.5339 MB / 0.969 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.8572, allocations: 0.5481 MB / 0.9696 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.8575, allocations: 0.6907 MB / 0.9702 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.8575, allocations: 0 / 0.9702 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.8575, allocations: 16.72 kB / 0.9703 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.8575, allocations: 0.9688 kB / 0.9703 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.8831, allocations: 6.579 MB / 0.9767 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/0.8835, allocations: 271 kB / 0.9769 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.89, allocations: 2.844 kB / 0.9769 GB, free: 5.785 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