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.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7553, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001548/0.7569, allocations: 1.071 MB / 0.9549 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.7585, allocations: 0.998 MB / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.7586, allocations: 0 / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.7586, allocations: 5.188 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.7586, allocations: 4.531 kB / 0.9559 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.7592, allocations: 152.5 kB / 0.9561 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.7592, allocations: 31.98 kB / 0.9561 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.7593, allocations: 2 kB / 0.9561 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.7594, allocations: 10.66 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.7594, allocations: 13.3 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.7594, allocations: 1 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.76, allocations: 421.3 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.76, allocations: 1.281 kB / 0.9565 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.76, allocations: 28.42 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.7603, allocations: 136.5 kB / 0.9567 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7603, allocations: 5.406 kB / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7603, allocations: 0 / 0.9567 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.7603, allocations: 0 / 0.9567 GB, free: 6.004 MB / 0.7169 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.0003502/0.7606, allocations: 384.2 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.7607, allocations: 8.688 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.7607, allocations: 36.06 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.7608, allocations: 9.328 kB / 0.9571 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.7608, allocations: 165.1 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.7609, allocations: 5.344 kB / 0.9573 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.7609, allocations: 4.812 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.761, allocations: 35.38 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.761, allocations: 1.5 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.761, allocations: 0 / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.761, allocations: 0 / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.7611, allocations: 20.34 kB / 0.9573 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.7612, allocations: 159.7 kB / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.7613, allocations: 50.67 kB / 0.9575 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.7613, allocations: 11.14 kB / 0.9576 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/0.762, allocations: 0.9881 MB / 0.9585 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.7621, allocations: 30.56 kB / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7621, allocations: 0 / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001722/0.7623, allocations: 63.88 kB / 0.9586 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.7623, allocations: 52.72 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.7623, allocations: 114.1 kB / 0.9588 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.7624, allocations: 25.7 kB / 0.9588 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.7624, allocations: 90.16 kB / 0.9589 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.7624, allocations: 9 kB / 0.9589 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.7624, allocations: 0 / 0.9589 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.7625, allocations: 317.2 kB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.7625, allocations: 3.031 kB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.7625, allocations: 8.734 kB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.7626, allocations: 12.7 kB / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7626, allocations: 0 / 0.9592 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.331e-05/0.7627, allocations: 54.22 kB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7627, allocations: 4.219 kB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7627, allocations: 4 kB / 0.9593 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7627, allocations: 5.688 kB / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.7628, allocations: 15.09 kB / 0.9593 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.7628, allocations: 3.938 kB / 0.9593 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.7629, allocations: 0.9375 kB / 0.9593 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.7629, allocations: 5.141 kB / 0.9593 GB, free: 3.105 MB / 0.7169 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 (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 5.241e-05/0.7629, allocations: 112.2 kB / 0.9594 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.7629, allocations: 5.188 kB / 0.9594 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.7631, allocations: 67.67 kB / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7631, allocations: 1.625 kB / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.7631, allocations: 0 / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7631, allocations: 0 / 0.9595 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.75e-05/0.7632, allocations: 165.3 kB / 0.9596 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7632, allocations: 0 / 0.9596 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.7633, allocations: 16.25 kB / 0.9596 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7633, allocations: 0 / 0.9596 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7633, allocations: 1.188 kB / 0.9597 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7633, allocations: 0 / 0.9597 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.7633, allocations: 4 kB / 0.9597 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.7634, allocations: 81.56 kB / 0.9597 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.7634, allocations: 82.61 kB / 0.9598 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.7634, allocations: 1.812 kB / 0.9598 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.7635, allocations: 4 kB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.7635, allocations: 1.719 kB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.7635, allocations: 1.844 kB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.14e-05/0.7635, allocations: 87.02 kB / 0.9599 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7635, allocations: 5.719 kB / 0.9599 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002251/0.7638, allocations: 35.06 kB / 0.9599 GB, free: 2.434 MB / 0.7169 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 (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.0003652/0.7641, allocations: 0.6706 MB / 0.9606 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.7642, allocations: 21.73 kB / 0.9606 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7642, allocations: 4 kB / 0.9606 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.7643, allocations: 12.19 kB / 0.9606 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.7645, allocations: 10.73 kB / 0.9606 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.7649, allocations: 216.6 kB / 0.9608 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.765, allocations: 0.6829 MB / 0.9615 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.765, allocations: 11.94 kB / 0.9615 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.7651, allocations: 10.47 kB / 0.9615 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7651, allocations: 3.938 kB / 0.9615 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.777, allocations: 1.953 MB / 0.9634 GB, free: 0 / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.7773, allocations: 272.3 kB / 0.9637 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.463, allocations: 1.719 kB / 0.9637 GB, free: 15.64 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat