Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001061/0.001061, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.000304, allocations: 12 kB / 0.8149 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.6446, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001297/0.6459, allocations: 1.087 MB / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.6481, allocations: 1.644 MB / 0.9566 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.6482, allocations: 0 / 0.9566 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.981e-05/0.6483, allocations: 9.328 kB / 0.9566 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.6484, allocations: 22.97 kB / 0.9566 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.6505, allocations: 0.9101 MB / 0.9575 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.6506, allocations: 66.36 kB / 0.9576 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.6507, allocations: 5.062 kB / 0.9576 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.6508, allocations: 25.52 kB / 0.9576 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.6508, allocations: 28.95 kB / 0.9576 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.6508, allocations: 5.406 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009351/0.6518, allocations: 0.6799 MB / 0.9583 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.6518, allocations: 29.66 kB / 0.9583 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.6519, allocations: 39.14 kB / 0.9583 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.6525, allocations: 0.4906 MB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6525, allocations: 0 / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6525, allocations: 0 / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6525, allocations: 0 / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004389/0.6529, allocations: 472.9 kB / 0.9593 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.653, allocations: 12.66 kB / 0.9593 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.653, allocations: 36.73 kB / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.6531, allocations: 7.156 kB / 0.9593 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.6532, allocations: 196.1 kB / 0.9595 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.6532, allocations: 0 / 0.9595 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.6532, allocations: 4.969 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6533, allocations: 54.08 kB / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6533, allocations: 0 / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.6534, allocations: 0 / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6534, allocations: 3.953 kB / 0.9596 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.6534, allocations: 31.33 kB / 0.9596 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.6536, allocations: 191.4 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.6536, allocations: 50.34 kB / 0.9598 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.6537, allocations: 36.84 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.6537, allocations: 1.031 kB / 0.9599 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.6537, allocations: 31.53 kB / 0.9599 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.6537, allocations: 0 / 0.9599 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002069/0.654, allocations: 117.2 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.654, allocations: 55.36 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.6541, allocations: 160 kB / 0.9602 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.6541, allocations: 26.67 kB / 0.9602 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.6542, allocations: 95.89 kB / 0.9603 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.6542, allocations: 27.19 kB / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.6542, allocations: 0 / 0.9604 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.6543, allocations: 327.7 kB / 0.9607 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.6543, allocations: 21.91 kB / 0.9607 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.6543, allocations: 25.86 kB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.6544, allocations: 27.36 kB / 0.9608 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6544, allocations: 1.375 kB / 0.9608 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001061/0.6545, allocations: 95.55 kB / 0.9608 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6545, allocations: 4.812 kB / 0.9608 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.6545, allocations: 1.219 kB / 0.9608 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6545, allocations: 1.25 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.6546, allocations: 0 / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6546, allocations: 3.953 kB / 0.9609 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.6546, allocations: 5.406 kB / 0.9609 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.6546, allocations: 1.188 kB / 0.9609 GB, free: 2.676 MB / 0.7169 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 6.891e-05/0.6547, allocations: 125.4 kB / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.6547, allocations: 6.938 kB / 0.961 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.6549, allocations: 107.5 kB / 0.9611 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.6549, allocations: 4 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6549, allocations: 1.125 kB / 0.9611 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6549, allocations: 3.953 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.655, allocations: 197.5 kB / 0.9613 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.655, allocations: 1.156 kB / 0.9613 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.655, allocations: 3.984 kB / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.655, allocations: 0 / 0.9613 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.655, allocations: 9.031 kB / 0.9613 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.655, allocations: 1.312 kB / 0.9613 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.655, allocations: 0 / 0.9613 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.6552, allocations: 125.2 kB / 0.9614 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.6552, allocations: 87.14 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6552, allocations: 1.031 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.6552, allocations: 0 / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.6553, allocations: 2.062 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.6553, allocations: 0.75 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.241e-05/0.6553, allocations: 123.3 kB / 0.9616 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6553, allocations: 0 / 0.9616 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005732/0.6559, allocations: 202.8 kB / 0.9618 GB, free: 1.918 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0008546/0.6568, allocations: 0.8698 MB / 0.9627 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.657, allocations: 103.6 kB / 0.9628 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.657, allocations: 0 / 0.9628 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.657, allocations: 63.5 kB / 0.9628 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.6573, allocations: 23.12 kB / 0.9628 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.6582, allocations: 0.781 MB / 0.9636 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.6584, allocations: 0.7063 MB / 0.9643 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.6585, allocations: 5.422 kB / 0.9643 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.6585, allocations: 20.95 kB / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6585, allocations: 0 / 0.9643 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.6784, allocations: 5.716 MB / 0.9699 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.6786, allocations: 279.4 kB / 0.9702 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.571, allocations: 3.328 kB / 0.9702 GB, free: 12.7 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat does not exist to compare? outputFormat=mat