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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.482/2.482, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001121/0.001121, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009269/0.0009269, allocations: 87.97 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.863e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2986, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.313, allocations: 154.5 MB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.313, allocations: 106.9 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01899/1.332, allocations: 6.323 MB / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.332, allocations: 0 / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.332, allocations: 0 / 1.376 GB, free: 10.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006269/1.333, allocations: 397.5 kB / 1.376 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/1.333, allocations: 12.03 kB / 1.376 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/1.333, allocations: 33.5 kB / 1.376 GB, free: 9.641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/1.333, allocations: 8.641 kB / 1.376 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/1.333, allocations: 163.1 kB / 1.377 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.333, allocations: 0 / 1.377 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.333, allocations: 7.938 kB / 1.377 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.333, allocations: 41.5 kB / 1.377 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.333, allocations: 0 / 1.377 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.333, allocations: 0 / 1.377 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.333, allocations: 8 kB / 1.377 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/1.333, allocations: 8 kB / 1.377 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/1.334, allocations: 168.6 kB / 1.377 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.799e-05/1.334, allocations: 37.86 kB / 1.377 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/1.334, allocations: 11.73 kB / 1.377 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.335, allocations: 0.9889 MB / 1.378 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.335, allocations: 30.56 kB / 1.378 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/1.335, allocations: 0 / 1.378 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001953/1.335, allocations: 56.34 kB / 1.378 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/1.335, allocations: 55.41 kB / 1.378 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.335, allocations: 97.53 kB / 1.378 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/1.335, allocations: 29.2 kB / 1.378 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/1.335, allocations: 80.14 kB / 1.378 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/1.336, allocations: 15.02 kB / 1.378 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.336, allocations: 3.938 kB / 1.378 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.336, allocations: 318.7 kB / 1.378 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/1.336, allocations: 4 kB / 1.378 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/1.336, allocations: 8 kB / 1.379 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/1.336, allocations: 20.05 kB / 1.379 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.336, allocations: 0 / 1.379 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.51e-05/1.336, allocations: 49.36 kB / 1.379 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.336, allocations: 4 kB / 1.379 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.336, allocations: 0 / 1.379 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.336, allocations: 3.984 kB / 1.379 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.336, allocations: 12 kB / 1.379 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.336, allocations: 0 / 1.379 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/1.336, allocations: 7.125 kB / 1.379 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/1.336, allocations: 8 kB / 1.379 GB, free: 7.078 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.767e-05/1.336, allocations: 104.9 kB / 1.379 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/1.336, allocations: 4 kB / 1.379 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/1.336, allocations: 67.91 kB / 1.379 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/1.336, allocations: 3.938 kB / 1.379 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.336, allocations: 0 / 1.379 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.336, allocations: 0 / 1.379 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/1.337, allocations: 168.7 kB / 1.379 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.337, allocations: 0 / 1.379 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/1.337, allocations: 19.98 kB / 1.379 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.337, allocations: 0 / 1.379 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.337, allocations: 0 / 1.379 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.337, allocations: 0 / 1.379 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.337, allocations: 0 / 1.379 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/1.337, allocations: 82.7 kB / 1.379 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/1.337, allocations: 81.05 kB / 1.379 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.337, allocations: 3.562 kB / 1.379 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/1.337, allocations: 7.984 kB / 1.379 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/1.337, allocations: 4 kB / 1.379 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/1.337, allocations: 0 / 1.379 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.366e-05/1.337, allocations: 86.66 kB / 1.379 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.337, allocations: 0 / 1.379 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002796/1.337, allocations: 43.92 kB / 1.379 GB, free: 6.336 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 (4): * Single equations (assignments): 4 * 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.0006625/1.338, allocations: 0.6771 MB / 1.38 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000104/1.338, allocations: 19.12 kB / 1.38 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.338, allocations: 0 / 1.38 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/1.338, allocations: 11.19 kB / 1.38 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/1.338, allocations: 4 kB / 1.38 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/1.339, allocations: 133.6 kB / 1.38 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.339, allocations: 0.6887 MB / 1.381 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.299e-05/1.339, allocations: 10.55 kB / 1.381 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/1.339, allocations: 15.25 kB / 1.381 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of SimCode: time 9.51e-07/1.339, allocations: 0 / 1.381 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/1.354, allocations: 1.889 MB / 1.383 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.354, allocations: 236.5 kB / 1.383 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/3.057, allocations: 0 / 1.383 GB, free: 2.738 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat