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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.23/2.23, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001272/0.001272, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.572/1.572, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009843/0.0009845, allocations: 97.47 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.254e-05, allocations: 8 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 142.4 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.379, allocations: 169.4 MB / 1.378 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.379, allocations: 119.6 kB / 1.378 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0416/1.421, allocations: 15.06 MB / 1.393 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.421, allocations: 0 / 1.393 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.421, allocations: 0 / 1.393 GB, free: 27.51 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.0009738/1.422, allocations: 0.5535 MB / 1.393 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.422, allocations: 7.812 kB / 1.393 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/1.422, allocations: 109.8 kB / 1.393 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/1.422, allocations: 86.05 kB / 1.394 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.422, allocations: 250.6 kB / 1.394 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/1.422, allocations: 150.6 kB / 1.394 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/1.422, allocations: 158.4 kB / 1.394 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.594e-05/1.422, allocations: 101 kB / 1.394 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.422, allocations: 75.28 kB / 1.394 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/1.422, allocations: 150.6 kB / 1.394 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/1.422, allocations: 154.6 kB / 1.395 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/1.422, allocations: 165.4 kB / 1.395 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/1.423, allocations: 456.2 kB / 1.395 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/1.423, allocations: 173.1 kB / 1.395 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/1.423, allocations: 91.7 kB / 1.395 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/1.423, allocations: 75.28 kB / 1.395 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.423, allocations: 105.8 kB / 1.396 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.423, allocations: 0 / 1.396 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.199e-05/1.423, allocations: 37.39 kB / 1.396 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.423, allocations: 126.7 kB / 1.396 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/1.423, allocations: 122.3 kB / 1.396 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/1.423, allocations: 25.7 kB / 1.396 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/1.423, allocations: 90.31 kB / 1.396 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.423, allocations: 3.938 kB / 1.396 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.423, allocations: 0 / 1.396 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/1.423, allocations: 321.8 kB / 1.396 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/1.423, allocations: 6.531 kB / 1.396 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/1.423, allocations: 3.875 kB / 1.396 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/1.423, allocations: 7.875 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.423, allocations: 0 / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/1.424, allocations: 47.28 kB / 1.396 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.424, allocations: 7.594 kB / 1.396 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.424, allocations: 3.938 kB / 1.396 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.424, allocations: 0 / 1.396 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/1.424, allocations: 0 / 1.396 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/1.424, allocations: 3.875 kB / 1.396 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/1.424, allocations: 3.312 kB / 1.396 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/1.424, allocations: 0 / 1.396 GB, free: 23.87 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 8.941e-05/1.424, allocations: 188.9 kB / 1.397 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/1.424, allocations: 112.7 kB / 1.397 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/1.424, allocations: 112.5 kB / 1.397 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/1.424, allocations: 179.6 kB / 1.397 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.183e-05/1.424, allocations: 180.3 kB / 1.397 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/1.424, allocations: 192.2 kB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/1.424, allocations: 416.4 kB / 1.398 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/1.424, allocations: 104.9 kB / 1.398 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/1.424, allocations: 104.9 kB / 1.398 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-05/1.424, allocations: 176.3 kB / 1.398 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/1.424, allocations: 184.2 kB / 1.398 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.473e-05/1.424, allocations: 180.3 kB / 1.398 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-05/1.425, allocations: 184.1 kB / 1.399 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/1.425, allocations: 306.6 kB / 1.399 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/1.425, allocations: 193.1 kB / 1.399 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/1.425, allocations: 180.3 kB / 1.399 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/1.425, allocations: 105.9 kB / 1.399 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/1.425, allocations: 176.3 kB / 1.399 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/1.425, allocations: 108.8 kB / 1.4 GB, free: 20.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.947e-05/1.425, allocations: 95.66 kB / 1.4 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.425, allocations: 3.938 kB / 1.4 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001081/1.426, allocations: 321.7 kB / 1.4 GB, free: 20.2 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.001326/1.427, allocations: 1.195 MB / 1.401 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.431e-05/1.428, allocations: 36.89 kB / 1.401 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.428, allocations: 0 / 1.401 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/1.428, allocations: 3.938 kB / 1.401 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/1.428, allocations: 0.5267 MB / 1.402 GB, free: 18.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/1.428, allocations: 342.5 kB / 1.402 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/1.429, allocations: 0.6845 MB / 1.403 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.377e-05/1.429, allocations: 3.844 kB / 1.403 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/1.429, allocations: 14.69 kB / 1.403 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of SimCode: time 1.152e-06/1.429, allocations: 0 / 1.403 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/1.448, allocations: 6.303 MB / 1.409 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.449, allocations: 235 kB / 1.409 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.251, allocations: 4 kB / 1.409 GB, free: 12.92 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat