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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_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_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001482, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001548/0.001547, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.558/2.558, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.964/4.964, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006895/0.0006898, allocations: 8 kB / 0.8376 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638/1.638, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003578/1.642, allocations: 1.114 MB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008502/1.651, allocations: 2.552 MB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/1.651, allocations: 0 / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/1.651, allocations: 3.938 kB / 0.9845 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/1.651, allocations: 23.95 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007103/1.658, allocations: 1.217 MB / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/1.658, allocations: 23.95 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/1.658, allocations: 4 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/1.659, allocations: 15.94 kB / 0.9858 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/1.659, allocations: 19.86 kB / 0.9858 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/1.659, allocations: 7.984 kB / 0.9858 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/1.663, allocations: 1.158 MB / 0.9869 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/1.663, allocations: 0 / 0.9869 GB, free: 112 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/1.663, allocations: 33.64 kB / 0.9869 GB, free: 72 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/1.666, allocations: 0.6964 MB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.666, allocations: 0 / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.58e-06/1.666, allocations: 0 / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.056e-05/1.666, allocations: 0 / 0.9876 GB, free: 15.37 MB / 0.7481 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.001752/1.668, allocations: 0.5221 MB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001125/1.668, allocations: 8.031 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/1.668, allocations: 105.8 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/1.668, allocations: 79.28 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/1.669, allocations: 246.2 kB / 0.9886 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/1.669, allocations: 150.6 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/1.669, allocations: 154.5 kB / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/1.67, allocations: 108.9 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.611e-05/1.67, allocations: 75.28 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/1.67, allocations: 150.6 kB / 0.9892 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003362/1.67, allocations: 158.5 kB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/1.671, allocations: 162.5 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/1.671, allocations: 465.9 kB / 0.9899 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.672, allocations: 169.1 kB / 0.9901 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/1.672, allocations: 75.28 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/1.672, allocations: 109.8 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/1.672, allocations: 4 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001885/1.672, allocations: 41.56 kB / 0.9903 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/1.673, allocations: 126.7 kB / 0.9904 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/1.673, allocations: 131.3 kB / 0.9905 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/1.673, allocations: 25.7 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/1.673, allocations: 92.12 kB / 0.9907 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/1.673, allocations: 0 / 0.9907 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/1.673, allocations: 0 / 0.9907 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004177/1.674, allocations: 318.8 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/1.674, allocations: 4 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/1.674, allocations: 11.98 kB / 0.991 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/1.674, allocations: 4 kB / 0.991 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.674, allocations: 0 / 0.991 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002827/1.674, allocations: 49.55 kB / 0.991 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/1.674, allocations: 4 kB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/1.674, allocations: 4 kB / 0.991 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/1.674, allocations: 3.953 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-06/1.674, allocations: 3.984 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.674, allocations: 4.062 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/1.674, allocations: 7.938 kB / 0.9911 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/1.674, allocations: 0 / 0.9911 GB, free: 11.63 MB / 0.7481 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 (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.000249/1.675, allocations: 181.1 kB / 0.9912 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/1.675, allocations: 112.8 kB / 0.9913 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/1.675, allocations: 108.9 kB / 0.9914 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002351/1.675, allocations: 188.2 kB / 0.9916 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002602/1.676, allocations: 184.2 kB / 0.9918 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002672/1.676, allocations: 176.3 kB / 0.992 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009194/1.677, allocations: 413.2 kB / 0.9924 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/1.677, allocations: 101 kB / 0.9925 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/1.677, allocations: 109 kB / 0.9926 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/1.677, allocations: 188.2 kB / 0.9927 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/1.678, allocations: 180.2 kB / 0.9929 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000225/1.678, allocations: 180.2 kB / 0.9931 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002618/1.678, allocations: 184.2 kB / 0.9933 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/1.679, allocations: 319.7 kB / 0.9936 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/1.679, allocations: 182.1 kB / 0.9937 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/1.679, allocations: 184.2 kB / 0.9939 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/1.679, allocations: 105 kB / 0.994 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/1.68, allocations: 180.3 kB / 0.9942 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.68, allocations: 108.9 kB / 0.9943 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000208/1.68, allocations: 102.5 kB / 0.9944 GB, free: 8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.12e-07/1.68, allocations: 0 / 0.9944 GB, free: 8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002049/1.682, allocations: 271.8 kB / 0.9946 GB, free: 7.734 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 (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.003724/1.686, allocations: 1.137 MB / 0.9958 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002553/1.686, allocations: 41.64 kB / 0.9958 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.686, allocations: 0 / 0.9958 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/1.686, allocations: 0 / 0.9958 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.687, allocations: 0.5302 MB / 0.9963 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/1.69, allocations: 0.5573 MB / 0.9969 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/1.69, allocations: 0.6848 MB / 0.9975 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.739e-05/1.69, allocations: 4 kB / 0.9975 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/1.69, allocations: 15.44 kB / 0.9975 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.69, allocations: 0 / 0.9975 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/1.732, allocations: 6.571 MB / 1.004 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006407/1.733, allocations: 265 kB / 1.004 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.499/5.232, allocations: 4.281 kB / 1.004 GB, free: 13.96 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat