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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007891/0.000789, allocations: 90.75 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.0008494/0.0008494, 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.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.454/2.454, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 16 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8597, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00157/0.8613, allocations: 1.077 MB / 0.9822 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.8629, allocations: 0.9988 MB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.863, allocations: 0 / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.863, allocations: 0 / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.863, allocations: 7.922 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.8636, allocations: 162.7 kB / 0.9834 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.8636, allocations: 27.86 kB / 0.9834 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.8637, allocations: 4 kB / 0.9834 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.8638, allocations: 11.94 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.8638, allocations: 11.98 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.8639, allocations: 7.938 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.8644, allocations: 407.5 kB / 0.9838 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.8644, allocations: 0 / 0.9838 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.8645, allocations: 37.64 kB / 0.9839 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.8647, allocations: 141.9 kB / 0.984 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8647, allocations: 0 / 0.984 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8647, allocations: 0 / 0.984 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8647, allocations: 4 kB / 0.984 GB, free: 3.324 MB / 0.7325 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.0004831/0.8652, allocations: 375.2 kB / 0.9844 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8653, allocations: 15.98 kB / 0.9844 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.8653, allocations: 30.56 kB / 0.9844 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.8654, allocations: 3.906 kB / 0.9844 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.8655, allocations: 167.1 kB / 0.9846 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8655, allocations: 0 / 0.9846 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.8655, allocations: 0 / 0.9846 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.8657, allocations: 49.64 kB / 0.9846 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.8657, allocations: 0 / 0.9846 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.8657, allocations: 7.922 kB / 0.9846 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.8657, allocations: 0 / 0.9846 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.723e-05/0.8658, allocations: 11.98 kB / 0.9846 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.866, allocations: 165.6 kB / 0.9848 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.8661, allocations: 38.61 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.8662, allocations: 12.89 kB / 0.9848 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.8673, allocations: 0.9895 MB / 0.9858 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.8674, allocations: 34.56 kB / 0.9858 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.366e-06/0.8674, allocations: 0 / 0.9858 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002366/0.8677, allocations: 65.48 kB / 0.9859 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.8677, allocations: 55.39 kB / 0.986 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.8678, allocations: 101.9 kB / 0.9861 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.8679, allocations: 25.7 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.8679, allocations: 92.06 kB / 0.9862 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.868, allocations: 15.75 kB / 0.9862 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.868, allocations: 8 kB / 0.9862 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8682, allocations: 310.8 kB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.8682, allocations: 7.984 kB / 0.9865 GB, free: 340 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/0.8682, allocations: 8 kB / 0.9865 GB, free: 332 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.8683, allocations: 4 kB / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8683, allocations: 0 / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.178e-05/0.8684, allocations: 53.62 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.8684, allocations: 9.562 kB / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.8684, allocations: 0 / 0.9866 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8684, allocations: 3.953 kB / 0.9866 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.8686, allocations: 16 kB / 0.9866 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8686, allocations: 0 / 0.9866 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.8686, allocations: 3.984 kB / 0.9866 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.8686, allocations: 4 kB / 0.9866 GB, free: 232 kB / 0.7325 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 0.0001109/0.8688, allocations: 109.8 kB / 0.9867 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.8688, allocations: 3.906 kB / 0.9867 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.8689, allocations: 62.23 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8689, allocations: 4 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.869, allocations: 7.953 kB / 0.9868 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.869, allocations: 0 / 0.9868 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.8691, allocations: 161.7 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8691, allocations: 0 / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.8692, allocations: 12 kB / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8692, allocations: 384 / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.8692, allocations: 4 kB / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8693, allocations: 4.297 kB / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8693, allocations: 0 / 0.9869 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.8694, allocations: 93 kB / 0.987 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.8695, allocations: 88.95 kB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.8695, allocations: 0 / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.8695, allocations: 0 / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.8695, allocations: 4 kB / 0.9871 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.8696, allocations: 4 kB / 0.9871 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.8696, allocations: 91.2 kB / 0.9872 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.344e-06/0.8696, allocations: 0 / 0.9872 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000281/0.8699, allocations: 43.94 kB / 0.9873 GB, free: 15.44 MB / 0.7481 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.000612/0.8705, allocations: 0.6593 MB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.8707, allocations: 23.92 kB / 0.9879 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8707, allocations: 3.938 kB / 0.9879 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.8707, allocations: 8 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.871, allocations: 18.92 kB / 0.9879 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.8716, allocations: 213.3 kB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.872, allocations: 0.6848 MB / 0.9888 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.872, allocations: 4 kB / 0.9888 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.8721, allocations: 15.44 kB / 0.9888 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8721, allocations: 0 / 0.9888 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.886, allocations: 1.949 MB / 0.9907 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.8863, allocations: 287.9 kB / 0.991 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.706, allocations: 0.6562 kB / 0.991 GB, free: 11.66 MB / 0.7481 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) Environment - environmentSimulation: 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