Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.399/2.399, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001215/0.001215, allocations: 198.6 kB / 0.4902 GB, free: 2.238 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.546/1.546, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009197/0.0009199, allocations: 102.3 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 10.62 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3315, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/0.5497, allocations: 170.3 MB / 1.396 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.5501, allocations: 115.9 kB / 1.396 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04656/0.5967, allocations: 15.14 MB / 1.411 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5967, allocations: 0 / 1.411 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5967, allocations: 4 kB / 1.411 GB, free: 15.76 MB / 0.9167 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.001007/0.5977, allocations: 0.5768 MB / 1.411 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5978, allocations: 11.98 kB / 1.411 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.5979, allocations: 105.8 kB / 1.411 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.5979, allocations: 83.23 kB / 1.411 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.5981, allocations: 254.1 kB / 1.412 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.5982, allocations: 154.5 kB / 1.412 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.5982, allocations: 154.6 kB / 1.412 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.804e-05/0.5983, allocations: 101 kB / 1.412 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.5983, allocations: 79.27 kB / 1.412 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.5984, allocations: 154.6 kB / 1.412 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/0.5985, allocations: 154.5 kB / 1.412 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.5985, allocations: 158.6 kB / 1.412 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.5989, allocations: 469.9 kB / 1.413 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.599, allocations: 165.1 kB / 1.413 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.599, allocations: 75.28 kB / 1.413 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.599, allocations: 109.8 kB / 1.413 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.599, allocations: 0 / 1.413 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.619e-05/0.5991, allocations: 37.55 kB / 1.413 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.5992, allocations: 126.7 kB / 1.413 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.5993, allocations: 119.5 kB / 1.413 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.5994, allocations: 25.7 kB / 1.414 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.5994, allocations: 92.14 kB / 1.414 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.5994, allocations: 0 / 1.414 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.5994, allocations: 4 kB / 1.414 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5996, allocations: 326.8 kB / 1.414 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.5996, allocations: 0 / 1.414 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.5996, allocations: 4 kB / 1.414 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.5997, allocations: 8 kB / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5997, allocations: 0 / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/0.5998, allocations: 45.59 kB / 1.414 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5998, allocations: 11.94 kB / 1.414 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.5999, allocations: 3.938 kB / 1.414 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5999, allocations: 0 / 1.414 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.5999, allocations: 8.062 kB / 1.414 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5999, allocations: 0 / 1.414 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.5999, allocations: 0 / 1.414 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5999, allocations: 0 / 1.414 GB, free: 11.97 MB / 0.9167 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.6001, allocations: 197.9 kB / 1.414 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.6001, allocations: 104.9 kB / 1.414 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.6002, allocations: 112.8 kB / 1.414 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/0.6003, allocations: 180.4 kB / 1.415 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-05/0.6003, allocations: 180.3 kB / 1.415 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/0.6004, allocations: 192.2 kB / 1.415 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.6007, allocations: 409.2 kB / 1.415 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-05/0.6007, allocations: 104.9 kB / 1.415 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.6008, allocations: 105 kB / 1.416 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.6009, allocations: 180.3 kB / 1.416 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.6009, allocations: 192.1 kB / 1.416 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/0.601, allocations: 176.3 kB / 1.416 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.953e-05/0.6011, allocations: 184.2 kB / 1.416 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.6012, allocations: 315.7 kB / 1.417 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.6013, allocations: 186 kB / 1.417 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.6014, allocations: 176.3 kB / 1.417 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.6015, allocations: 104.9 kB / 1.417 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.6016, allocations: 176.6 kB / 1.417 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.6016, allocations: 113 kB / 1.417 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.699e-05/0.6017, allocations: 104 kB / 1.417 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6017, allocations: 0 / 1.417 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001099/0.6028, allocations: 319.5 kB / 1.418 GB, free: 8.016 MB / 0.9167 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.001862/0.6047, allocations: 1.183 MB / 1.419 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.6048, allocations: 45.69 kB / 1.419 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6048, allocations: 0 / 1.419 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.6048, allocations: 3.938 kB / 1.419 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.6052, allocations: 0.5185 MB / 1.419 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.6062, allocations: 0.5949 MB / 1.42 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.6065, allocations: 0.6925 MB / 1.421 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.6066, allocations: 12.03 kB / 1.421 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.6066, allocations: 11.44 kB / 1.421 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.6066, allocations: 0 / 1.421 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5841/1.191, allocations: 6.267 MB / 1.427 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.191, allocations: 272.9 kB / 1.427 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/3.041, allocations: 0 / 1.427 GB, free: 179.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat does not exist to compare? outputFormat=mat