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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001573/0.001573, allocations: 100.1 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.001801/0.001801, allocations: 177.3 kB / 15.95 MB, free: 216 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.557/2.557, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.673/4.673, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007044/0.0007043, allocations: 12 kB / 0.8376 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605/1.606, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003915/1.61, allocations: 1.127 MB / 0.982 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00771/1.618, allocations: 2.583 MB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/1.618, allocations: 0 / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/1.618, allocations: 7.984 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/1.619, allocations: 11.97 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007754/1.626, allocations: 1.254 MB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/1.627, allocations: 23.95 kB / 0.9858 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/1.627, allocations: 8 kB / 0.9858 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/1.627, allocations: 19.92 kB / 0.9858 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/1.627, allocations: 11.94 kB / 0.9859 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/1.627, allocations: 0 / 0.9859 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006172/1.633, allocations: 1.201 MB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/1.633, allocations: 7.922 kB / 0.987 GB, free: 8 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/1.633, allocations: 29.7 kB / 0.9871 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00396/1.637, allocations: 0.7158 MB / 0.9878 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.638, allocations: 0 / 0.9878 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.36e-06/1.638, allocations: 0 / 0.9878 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.125e-05/1.638, allocations: 4 kB / 0.9878 GB, free: 15.25 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.002367/1.64, allocations: 0.5067 MB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.000119/1.64, allocations: 12.02 kB / 0.9883 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/1.64, allocations: 109.8 kB / 0.9884 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/1.641, allocations: 79.28 kB / 0.9885 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/1.641, allocations: 254.1 kB / 0.9887 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/1.641, allocations: 150.6 kB / 0.9888 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/1.641, allocations: 162.5 kB / 0.989 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.642, allocations: 101 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/1.642, allocations: 79.28 kB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/1.642, allocations: 150.6 kB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/1.642, allocations: 150.6 kB / 0.9895 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/1.642, allocations: 162.4 kB / 0.9896 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/1.643, allocations: 465.9 kB / 0.9901 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/1.643, allocations: 165.1 kB / 0.9902 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.934e-05/1.643, allocations: 75.28 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.875e-05/1.643, allocations: 117.8 kB / 0.9904 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/1.643, allocations: 0 / 0.9904 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001522/1.644, allocations: 41.59 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.644, allocations: 126.7 kB / 0.9906 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/1.644, allocations: 131.7 kB / 0.9907 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.644, allocations: 25.7 kB / 0.9907 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/1.644, allocations: 92.12 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/1.644, allocations: 0 / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.644, allocations: 8 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002063/1.644, allocations: 314.8 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/1.644, allocations: 4 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/1.644, allocations: 8 kB / 0.9911 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/1.644, allocations: 7.984 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.644, allocations: 0 / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002633/1.645, allocations: 49.55 kB / 0.9912 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/1.645, allocations: 11.95 kB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/1.645, allocations: 0 / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.645, allocations: 8.062 kB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/1.645, allocations: 64 / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.645, allocations: 4 kB / 0.9912 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/1.645, allocations: 0 / 0.9912 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.645, allocations: 0 / 0.9912 GB, free: 11.51 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.0002036/1.645, allocations: 197 kB / 0.9914 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.645, allocations: 112.8 kB / 0.9915 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/1.645, allocations: 112.8 kB / 0.9916 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.639e-05/1.646, allocations: 180.3 kB / 0.9918 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001113/1.646, allocations: 184.2 kB / 0.9919 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.646, allocations: 184.2 kB / 0.9921 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/1.646, allocations: 409.2 kB / 0.9925 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-05/1.646, allocations: 104.9 kB / 0.9926 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/1.646, allocations: 105 kB / 0.9927 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/1.646, allocations: 180.2 kB / 0.9929 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/1.647, allocations: 188.2 kB / 0.9931 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.912e-05/1.647, allocations: 180.2 kB / 0.9932 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.234e-05/1.647, allocations: 180.2 kB / 0.9934 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/1.647, allocations: 315.7 kB / 0.9937 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.647, allocations: 190 kB / 0.9939 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.647, allocations: 180.2 kB / 0.9941 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.647, allocations: 108.9 kB / 0.9942 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.647, allocations: 188.2 kB / 0.9943 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/1.648, allocations: 108.9 kB / 0.9944 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001082/1.648, allocations: 100.4 kB / 0.9945 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.41e-07/1.648, allocations: 0 / 0.9945 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001539/1.649, allocations: 271.8 kB / 0.9948 GB, free: 7.594 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.002361/1.652, allocations: 1.136 MB / 0.9959 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002172/1.652, allocations: 41.7 kB / 0.9959 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.652, allocations: 0 / 0.9959 GB, free: 6.383 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/1.652, allocations: 3.938 kB / 0.996 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/1.653, allocations: 0.5302 MB / 0.9965 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.654, allocations: 0.5601 MB / 0.997 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.654, allocations: 0.6926 MB / 0.9977 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.35e-05/1.654, allocations: 3.906 kB / 0.9977 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/1.654, allocations: 11.44 kB / 0.9977 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/1.654, allocations: 0 / 0.9977 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/1.692, allocations: 6.793 MB / 1.004 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003803/1.692, allocations: 275.4 kB / 1.005 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/5.272, allocations: 2.438 kB / 1.005 GB, free: 13.59 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.mat does not exist to compare? outputFormat=mat