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.27/2.27, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001311/0.001311, allocations: 184.9 kB / 492.3 MB, free: 0.6016 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.592/1.592, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.001115/0.001115, allocations: 95.39 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.551e-05, allocations: 8 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.364, allocations: 169.4 MB / 1.378 GB, free: 17.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.364, allocations: 120.7 kB / 1.378 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04373/1.408, allocations: 15.07 MB / 1.393 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.408, allocations: 0 / 1.393 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.408, allocations: 4 kB / 1.393 GB, free: 27.54 MB / 0.8386 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.001155/1.409, allocations: 0.5446 MB / 1.393 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.409, allocations: 11.53 kB / 1.393 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/1.409, allocations: 109.8 kB / 1.393 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/1.41, allocations: 85.83 kB / 1.394 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.41, allocations: 249.9 kB / 1.394 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/1.41, allocations: 154.5 kB / 1.394 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/1.41, allocations: 154.6 kB / 1.394 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/1.41, allocations: 101 kB / 1.394 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/1.41, allocations: 75.28 kB / 1.394 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/1.41, allocations: 154.3 kB / 1.394 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/1.41, allocations: 153.6 kB / 1.395 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.961e-05/1.41, allocations: 158.5 kB / 1.395 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/1.41, allocations: 463.4 kB / 1.395 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.176e-05/1.411, allocations: 168.3 kB / 1.395 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/1.411, allocations: 80.14 kB / 1.395 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/1.411, allocations: 75.28 kB / 1.395 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.411, allocations: 113.7 kB / 1.396 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/1.411, allocations: 0 / 1.396 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.447e-05/1.411, allocations: 33.55 kB / 1.396 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.411, allocations: 130.5 kB / 1.396 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/1.411, allocations: 118 kB / 1.396 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/1.411, allocations: 29.55 kB / 1.396 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/1.411, allocations: 90.25 kB / 1.396 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/1.411, allocations: 4 kB / 1.396 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/1.411, allocations: 0 / 1.396 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.411, allocations: 318.6 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/1.411, allocations: 6.531 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/1.411, allocations: 3.984 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/1.411, allocations: 6.594 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.411, allocations: 3.875 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001665/1.412, allocations: 48.02 kB / 1.396 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.412, allocations: 3.844 kB / 1.396 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/1.412, allocations: 7.906 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.412, allocations: 3.984 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/1.412, allocations: 0 / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.412, allocations: 0 / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/1.412, allocations: 7.781 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/1.412, allocations: 0 / 1.396 GB, free: 23.91 MB / 0.8386 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 () * 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.0001121/1.412, allocations: 184.2 kB / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/1.412, allocations: 108.9 kB / 1.397 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/1.412, allocations: 115.7 kB / 1.397 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.17e-05/1.412, allocations: 184.2 kB / 1.397 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.652e-05/1.412, allocations: 180.3 kB / 1.397 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.747e-05/1.412, allocations: 180.2 kB / 1.397 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/1.412, allocations: 414.7 kB / 1.398 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-05/1.413, allocations: 108.9 kB / 1.398 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/1.413, allocations: 105 kB / 1.398 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/1.413, allocations: 183.4 kB / 1.398 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/1.413, allocations: 184.2 kB / 1.398 GB, free: 21.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.848e-05/1.413, allocations: 176.3 kB / 1.398 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.354e-05/1.413, allocations: 180.2 kB / 1.399 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/1.413, allocations: 322.6 kB / 1.399 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/1.413, allocations: 182 kB / 1.399 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.413, allocations: 184 kB / 1.399 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/1.413, allocations: 109.9 kB / 1.399 GB, free: 20.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.414, allocations: 180.3 kB / 1.399 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/1.414, allocations: 101 kB / 1.4 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.117e-05/1.414, allocations: 100.1 kB / 1.4 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.414, allocations: 0 / 1.4 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0014/1.415, allocations: 328.8 kB / 1.4 GB, free: 20.23 MB / 0.8386 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 () * 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.002719/1.418, allocations: 1.192 MB / 1.401 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001252/1.418, allocations: 36.73 kB / 1.401 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/1.418, allocations: 0 / 1.401 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/1.418, allocations: 0 / 1.401 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/1.419, allocations: 0.5291 MB / 1.402 GB, free: 18.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/1.42, allocations: 338.2 kB / 1.402 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/1.42, allocations: 0.6846 MB / 1.403 GB, free: 17.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.38e-05/1.42, allocations: 3.875 kB / 1.403 GB, free: 17.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/1.42, allocations: 18.75 kB / 1.403 GB, free: 17.69 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.42, allocations: 0 / 1.403 GB, free: 17.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/1.441, allocations: 6.305 MB / 1.409 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/1.442, allocations: 243.7 kB / 1.409 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/3.323, allocations: 1.375 kB / 1.409 GB, free: 12.86 MB / 0.8386 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