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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.379/2.379, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001309/0.001309, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.748/1.748, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001521/0.001522, allocations: 99.19 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.835e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3892, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.43, allocations: 162.4 MB / 1.377 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/1.431, allocations: 115.4 kB / 1.378 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02599/1.457, allocations: 8.484 MB / 1.386 GB, free: 88 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.457, allocations: 0 / 1.386 GB, free: 88 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.738e-05/1.457, allocations: 4 kB / 1.386 GB, free: 84 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008535/1.458, allocations: 0.562 MB / 1.386 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.458, allocations: 8.031 kB / 1.386 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/1.458, allocations: 41.75 kB / 1.386 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/1.458, allocations: 31.58 kB / 1.387 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/1.458, allocations: 225.6 kB / 1.387 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/1.458, allocations: 0 / 1.387 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.458, allocations: 0 / 1.387 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/1.458, allocations: 111.4 kB / 1.387 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.458, allocations: 0 / 1.387 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/1.458, allocations: 0 / 1.387 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/1.458, allocations: 3.984 kB / 1.387 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/1.458, allocations: 74.11 kB / 1.387 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/1.459, allocations: 277.4 kB / 1.387 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/1.459, allocations: 122.4 kB / 1.387 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.459, allocations: 119.1 kB / 1.387 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/1.459, allocations: 0 / 1.387 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/1.459, allocations: 34.56 kB / 1.387 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/1.459, allocations: 0 / 1.387 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.0003306/1.459, allocations: 224.5 kB / 1.388 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.459, allocations: 59.44 kB / 1.388 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/1.46, allocations: 225.8 kB / 1.388 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.46, allocations: 25.7 kB / 1.388 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/1.46, allocations: 128.9 kB / 1.388 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/1.46, allocations: 104.8 kB / 1.388 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.46, allocations: 3.938 kB / 1.388 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.46, allocations: 345.5 kB / 1.389 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/1.46, allocations: 72.83 kB / 1.389 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/1.46, allocations: 76.22 kB / 1.389 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/1.46, allocations: 106.8 kB / 1.389 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.46, allocations: 0 / 1.389 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002484/1.461, allocations: 224 kB / 1.389 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.461, allocations: 8 kB / 1.389 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.461, allocations: 0 / 1.389 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.461, allocations: 0 / 1.389 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/1.461, allocations: 7.922 kB / 1.389 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.461, allocations: 4 kB / 1.389 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/1.461, allocations: 7.844 kB / 1.389 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/1.461, allocations: 4 kB / 1.389 GB, free: 13.02 MB / 0.8542 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 () * 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 8.665e-05/1.461, allocations: 112.9 kB / 1.389 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/1.461, allocations: 27.56 kB / 1.389 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/1.461, allocations: 0.5694 MB / 1.39 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/1.461, allocations: 184.3 kB / 1.39 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.934e-05/1.462, allocations: 184.2 kB / 1.39 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.98e-05/1.462, allocations: 180.2 kB / 1.39 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/1.462, allocations: 0.5409 MB / 1.391 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.405e-05/1.462, allocations: 108.5 kB / 1.391 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/1.462, allocations: 101 kB / 1.391 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/1.462, allocations: 184.2 kB / 1.391 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/1.462, allocations: 180.3 kB / 1.391 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001124/1.462, allocations: 184.2 kB / 1.391 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.611e-05/1.463, allocations: 176.3 kB / 1.392 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/1.463, allocations: 334.9 kB / 1.392 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/1.463, allocations: 362.9 kB / 1.392 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.463, allocations: 184.2 kB / 1.392 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/1.464, allocations: 101 kB / 1.393 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/1.464, allocations: 183.6 kB / 1.393 GB, free: 9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/1.464, allocations: 104.9 kB / 1.393 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001279/1.465, allocations: 1.126 MB / 1.394 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/1.465, allocations: 4 kB / 1.394 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001066/1.466, allocations: 305.7 kB / 1.394 GB, free: 7.887 MB / 0.8542 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 () * 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.001237/1.467, allocations: 1.096 MB / 1.395 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002057/1.468, allocations: 173.7 kB / 1.395 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/1.468, allocations: 0 / 1.395 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/1.468, allocations: 11.06 kB / 1.395 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/1.468, allocations: 0.5333 MB / 1.396 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/1.469, allocations: 0.5253 MB / 1.397 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/1.469, allocations: 0.7667 MB / 1.397 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.581e-05/1.469, allocations: 3.984 kB / 1.397 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/1.469, allocations: 57.23 kB / 1.397 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.469, allocations: 0 / 1.397 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/1.491, allocations: 7.405 MB / 1.405 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/1.491, allocations: 242.4 kB / 1.405 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/3.594, allocations: 0 / 1.405 GB, free: 13.22 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube_res.mat does not exist to compare? outputFormat=mat