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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.265/2.265, allocations: 393.5 MB / 408.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 184 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.1 MB / 0.7992 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 107.2 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 14.81 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2666, allocations: 143 MB / 1.229 GB, free: 85.29 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/0.4818, allocations: 171 MB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.4822, allocations: 123.9 kB / 1.396 GB, free: 9.914 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6733/1.155, allocations: 15.46 MB / 1.412 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.244e-06/1.155, allocations: 0 / 1.412 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.156, allocations: 0 / 1.412 GB, free: 169.7 MB / 0.9011 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.001096/1.157, allocations: 0.5721 MB / 1.412 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.157, allocations: 13.45 kB / 1.412 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/1.157, allocations: 108.3 kB / 1.412 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/1.157, allocations: 85.11 kB / 1.412 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.157, allocations: 248.4 kB / 1.413 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/1.157, allocations: 151.8 kB / 1.413 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/1.157, allocations: 151.8 kB / 1.413 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.593e-05/1.157, allocations: 108 kB / 1.413 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.157, allocations: 79.16 kB / 1.413 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.157, allocations: 151.8 kB / 1.413 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/1.157, allocations: 155.1 kB / 1.413 GB, free: 168 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/1.157, allocations: 151.8 kB / 1.413 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/1.157, allocations: 469.9 kB / 1.414 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/1.157, allocations: 165.1 kB / 1.414 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/1.157, allocations: 77.91 kB / 1.414 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.157, allocations: 108.2 kB / 1.414 GB, free: 167 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/1.157, allocations: 2.844 kB / 1.414 GB, free: 167 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 7.269e-05/1.158, allocations: 39.02 kB / 1.414 GB, free: 167 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.158, allocations: 131.1 kB / 1.414 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/1.158, allocations: 123 kB / 1.415 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.158, allocations: 25.7 kB / 1.415 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/1.158, allocations: 92.75 kB / 1.415 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-06/1.158, allocations: 0.6562 kB / 1.415 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/1.158, allocations: 0 / 1.415 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 5.982e-05/1.158, allocations: 324.4 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/1.158, allocations: 7.062 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/1.158, allocations: 4.031 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/1.158, allocations: 7.625 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.158, allocations: 0 / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001259/1.158, allocations: 57.53 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.158, allocations: 6.281 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.158, allocations: 7.797 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.158, allocations: 0.5156 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/1.158, allocations: 1 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/1.158, allocations: 0 / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/1.158, allocations: 6.5 kB / 1.415 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.158, allocations: 2.312 kB / 1.415 GB, free: 166.3 MB / 0.9011 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 7.233e-05/1.158, allocations: 189.5 kB / 1.415 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/1.158, allocations: 106.6 kB / 1.415 GB, free: 166 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/1.158, allocations: 113.7 kB / 1.415 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/1.158, allocations: 186.7 kB / 1.416 GB, free: 165.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/1.158, allocations: 186.3 kB / 1.416 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/1.159, allocations: 178.1 kB / 1.416 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.159, allocations: 420.3 kB / 1.416 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.159, allocations: 111.1 kB / 1.416 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/1.159, allocations: 103 kB / 1.417 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.193e-05/1.159, allocations: 180.9 kB / 1.417 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.159, allocations: 177.6 kB / 1.417 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-05/1.159, allocations: 187.1 kB / 1.417 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/1.159, allocations: 177.1 kB / 1.417 GB, free: 164 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.013e-05/1.159, allocations: 318.7 kB / 1.418 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/1.159, allocations: 185.5 kB / 1.418 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/1.159, allocations: 182.2 kB / 1.418 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/1.159, allocations: 106.5 kB / 1.418 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/1.159, allocations: 187.7 kB / 1.418 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.159, allocations: 103 kB / 1.418 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.849e-05/1.159, allocations: 96.97 kB / 1.418 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/1.159, allocations: 1.188 kB / 1.418 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001322/1.161, allocations: 326 kB / 1.419 GB, free: 162.7 MB / 0.9011 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.001462/1.162, allocations: 1.194 MB / 1.42 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001022/1.162, allocations: 43.72 kB / 1.42 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.162, allocations: 0 / 1.42 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/1.162, allocations: 1 kB / 1.42 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/1.162, allocations: 0.5251 MB / 1.42 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/1.163, allocations: 0.6023 MB / 1.421 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/1.163, allocations: 0.6899 MB / 1.422 GB, free: 160 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.731e-05/1.163, allocations: 5.375 kB / 1.422 GB, free: 160 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/1.163, allocations: 13.91 kB / 1.422 GB, free: 160 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/1.163, allocations: 0 / 1.422 GB, free: 160 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/1.19, allocations: 6.429 MB / 1.428 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.19, allocations: 269 kB / 1.428 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.973, allocations: 0 / 1.428 GB, free: 159.2 MB / 0.9011 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) 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