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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00164/0.00164, allocations: 100.3 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.002328/0.002328, 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.619/2.619, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.602/4.602, allocations: 409.2 MB / 0.6838 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006851/0.0006852, allocations: 16 kB / 0.8376 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635/1.635, allocations: 146.8 MB / 0.9809 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00278/1.638, allocations: 1.131 MB / 0.982 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006544/1.645, allocations: 2.579 MB / 0.9845 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/1.645, allocations: 0 / 0.9845 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/1.645, allocations: 3.984 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/1.645, allocations: 23.91 kB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/1.652, allocations: 1.236 MB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/1.652, allocations: 31.95 kB / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/1.652, allocations: 0 / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/1.652, allocations: 19.92 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/1.652, allocations: 19.92 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/1.653, allocations: 4 kB / 0.9859 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/1.656, allocations: 1.194 MB / 0.987 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/1.656, allocations: 11.94 kB / 0.987 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/1.656, allocations: 29.7 kB / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/1.658, allocations: 0.7119 MB / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.658, allocations: 4 kB / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.717e-06/1.658, allocations: 0 / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.658, allocations: 4 kB / 0.9878 GB, free: 15.2 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.001153/1.659, allocations: 0.5067 MB / 0.9883 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.804e-05/1.66, allocations: 19.95 kB / 0.9883 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/1.66, allocations: 109.8 kB / 0.9884 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/1.66, allocations: 79.28 kB / 0.9885 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/1.66, allocations: 251.1 kB / 0.9887 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.66, allocations: 150.6 kB / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/1.66, allocations: 158.5 kB / 0.989 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/1.661, allocations: 101 kB / 0.9891 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/1.661, allocations: 75.28 kB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/1.661, allocations: 150.6 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/1.661, allocations: 150.6 kB / 0.9894 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.661, allocations: 166.5 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009051/1.662, allocations: 465.9 kB / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/1.662, allocations: 165.1 kB / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.691e-05/1.662, allocations: 75.28 kB / 0.9903 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.663, allocations: 113.8 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/1.663, allocations: 0 / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001487/1.663, allocations: 41.59 kB / 0.9904 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.663, allocations: 126.7 kB / 0.9905 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/1.663, allocations: 131.9 kB / 0.9907 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/1.663, allocations: 25.7 kB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.663, allocations: 96.12 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/1.663, allocations: 0 / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/1.663, allocations: 4 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002312/1.664, allocations: 314.8 kB / 0.9911 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/1.664, allocations: 4 kB / 0.9911 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/1.664, allocations: 4 kB / 0.9911 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/1.664, allocations: 11.98 kB / 0.9911 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.664, allocations: 3.938 kB / 0.9911 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002316/1.664, allocations: 53.55 kB / 0.9912 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.664, allocations: 7.953 kB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/1.664, allocations: 4 kB / 0.9912 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.664, allocations: 4.062 kB / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/1.664, allocations: 0 / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.664, allocations: 0 / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/1.664, allocations: 4 kB / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.664, allocations: 0 / 0.9912 GB, free: 11.46 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.0001993/1.664, allocations: 193 kB / 0.9914 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/1.665, allocations: 108.9 kB / 0.9915 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/1.665, allocations: 120.8 kB / 0.9916 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/1.665, allocations: 180.3 kB / 0.9918 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001186/1.665, allocations: 184.2 kB / 0.9919 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.665, allocations: 176.3 kB / 0.9921 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/1.666, allocations: 413.2 kB / 0.9925 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.724e-05/1.666, allocations: 104.9 kB / 0.9926 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/1.666, allocations: 109 kB / 0.9927 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/1.666, allocations: 184.2 kB / 0.9929 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.666, allocations: 176.3 kB / 0.993 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001148/1.666, allocations: 184.3 kB / 0.9932 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001072/1.666, allocations: 184.2 kB / 0.9934 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/1.666, allocations: 319.6 kB / 0.9937 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/1.667, allocations: 186 kB / 0.9939 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.667, allocations: 180.3 kB / 0.994 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.667, allocations: 108.9 kB / 0.9942 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.667, allocations: 184.2 kB / 0.9943 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/1.667, allocations: 112.9 kB / 0.9944 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001067/1.667, allocations: 96.98 kB / 0.9945 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.667, allocations: 0 / 0.9945 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001753/1.669, allocations: 275.8 kB / 0.9948 GB, free: 7.543 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.002438/1.671, allocations: 1.139 MB / 0.9959 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001799/1.672, allocations: 41.64 kB / 0.9959 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.672, allocations: 0 / 0.9959 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/1.672, allocations: 0 / 0.9959 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/1.672, allocations: 0.5341 MB / 0.9965 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/1.674, allocations: 0.5601 MB / 0.997 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/1.675, allocations: 0.6926 MB / 0.9977 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.647e-05/1.675, allocations: 3.906 kB / 0.9977 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/1.675, allocations: 19.44 kB / 0.9977 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of SimCode: time 1.152e-06/1.675, allocations: 0 / 0.9977 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/1.715, allocations: 6.777 MB / 1.004 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004213/1.715, allocations: 269.7 kB / 1.005 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/5.25, allocations: 0 / 1.005 GB, free: 13.54 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat