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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001132/0.001132, allocations: 181.2 kB / 498.1 MB, free: 5.773 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.392/1.392, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0009266/0.0009265, allocations: 106.5 kB / 0.9346 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 10.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2781, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.4794, allocations: 169.5 MB / 1.389 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.4797, allocations: 123.9 kB / 1.389 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04546/0.5252, allocations: 15.14 MB / 1.403 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5252, allocations: 0 / 1.403 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.5253, allocations: 4 kB / 1.403 GB, free: 9.227 MB / 0.9011 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.0009423/0.5262, allocations: 0.5652 MB / 1.404 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5263, allocations: 8.031 kB / 1.404 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.5263, allocations: 105.8 kB / 1.404 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.5264, allocations: 87.14 kB / 1.404 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5266, allocations: 250.3 kB / 1.404 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.5266, allocations: 150.6 kB / 1.405 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.5267, allocations: 154.6 kB / 1.405 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/0.5268, allocations: 105 kB / 1.405 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.5268, allocations: 79.22 kB / 1.405 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.5269, allocations: 150.6 kB / 1.405 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.5269, allocations: 154.5 kB / 1.405 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.527, allocations: 154.6 kB / 1.405 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.5273, allocations: 461.9 kB / 1.406 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.53e-05/0.5274, allocations: 165.1 kB / 1.406 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.5275, allocations: 79.22 kB / 1.406 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.5275, allocations: 113.8 kB / 1.406 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.5275, allocations: 4 kB / 1.406 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 7.46e-05/0.5276, allocations: 29.61 kB / 1.406 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.5277, allocations: 126.7 kB / 1.406 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5278, allocations: 123 kB / 1.406 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.5278, allocations: 25.7 kB / 1.406 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.5279, allocations: 88.05 kB / 1.406 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.5279, allocations: 3.938 kB / 1.406 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.5279, allocations: 4 kB / 1.406 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.528, allocations: 326.8 kB / 1.407 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.528, allocations: 4 kB / 1.407 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.5281, allocations: 11.92 kB / 1.407 GB, free: 5.531 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.5281, allocations: 4 kB / 1.407 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5281, allocations: 0 / 1.407 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001109/0.5282, allocations: 49.69 kB / 1.407 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5282, allocations: 4 kB / 1.407 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.5283, allocations: 4 kB / 1.407 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.5283, allocations: 4.062 kB / 1.407 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.5283, allocations: 0 / 1.407 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5283, allocations: 0 / 1.407 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.5283, allocations: 7.906 kB / 1.407 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.5283, allocations: 4 kB / 1.407 GB, free: 5.449 MB / 0.9011 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 9.482e-05/0.5284, allocations: 189.1 kB / 1.407 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.5285, allocations: 112.9 kB / 1.407 GB, free: 5.137 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.5286, allocations: 108.9 kB / 1.407 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.284e-05/0.5286, allocations: 180.3 kB / 1.407 GB, free: 4.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.528e-05/0.5287, allocations: 188.2 kB / 1.408 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/0.5288, allocations: 176.3 kB / 1.408 GB, free: 4.469 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.529, allocations: 421.1 kB / 1.408 GB, free: 4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-05/0.5291, allocations: 105.1 kB / 1.408 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.5291, allocations: 108.9 kB / 1.408 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.236e-05/0.5292, allocations: 180.2 kB / 1.409 GB, free: 3.594 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.5293, allocations: 180.3 kB / 1.409 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.727e-05/0.5294, allocations: 180.2 kB / 1.409 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-05/0.5294, allocations: 176.3 kB / 1.409 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.5296, allocations: 319.6 kB / 1.409 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.5297, allocations: 186 kB / 1.41 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.5298, allocations: 180.2 kB / 1.41 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.5298, allocations: 105 kB / 1.41 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.5299, allocations: 185 kB / 1.41 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.53, allocations: 109 kB / 1.41 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.53, allocations: 96.52 kB / 1.41 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.864e-06/0.53, allocations: 0 / 1.41 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009241/0.531, allocations: 315.5 kB / 1.411 GB, free: 1.508 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 (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.001601/0.5326, allocations: 1.191 MB / 1.412 GB, free: 292 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.5327, allocations: 41.69 kB / 1.412 GB, free: 244 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5327, allocations: 0 / 1.412 GB, free: 244 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.5327, allocations: 4 kB / 1.412 GB, free: 240 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.533, allocations: 0.5224 MB / 1.412 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.5339, allocations: 0.6032 MB / 1.413 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5342, allocations: 0.6926 MB / 1.413 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.5342, allocations: 0 / 1.413 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.5343, allocations: 15.44 kB / 1.414 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of SimCode: time 2.51e-07/0.5343, allocations: 0 / 1.414 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.555, allocations: 6.27 MB / 1.42 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.5553, allocations: 263.2 kB / 1.42 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.423, allocations: 4.75 kB / 1.42 GB, free: 7.93 MB / 0.9167 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