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.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001215/0.001215, allocations: 176.9 kB / 498.1 MB, free: 5.719 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.439/1.439, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008807/0.0008807, allocations: 92.33 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 13.91 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2768, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.4739, allocations: 169.5 MB / 1.389 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.4743, allocations: 115.9 kB / 1.389 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0461/0.5204, allocations: 15.13 MB / 1.403 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5204, allocations: 0 / 1.403 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.5204, allocations: 3.938 kB / 1.403 GB, free: 9.109 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.0009568/0.5214, allocations: 0.5652 MB / 1.404 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5214, allocations: 8.031 kB / 1.404 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.513e-05/0.5215, allocations: 113.8 kB / 1.404 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.5216, allocations: 87.14 kB / 1.404 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.5218, allocations: 255 kB / 1.404 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.5219, allocations: 150.6 kB / 1.405 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.5219, allocations: 150.6 kB / 1.405 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.593e-05/0.522, allocations: 101 kB / 1.405 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.5221, allocations: 79.28 kB / 1.405 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.5221, allocations: 154.6 kB / 1.405 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/0.5222, allocations: 154.5 kB / 1.405 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.5223, allocations: 158.5 kB / 1.405 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.5226, allocations: 461.9 kB / 1.406 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.16e-05/0.5227, allocations: 169.1 kB / 1.406 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.5228, allocations: 75.28 kB / 1.406 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.5228, allocations: 105.8 kB / 1.406 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5228, allocations: 0 / 1.406 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 8.952e-05/0.5229, allocations: 41.53 kB / 1.406 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.523, allocations: 130.7 kB / 1.406 GB, free: 6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5232, allocations: 114.3 kB / 1.406 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.5232, allocations: 25.7 kB / 1.406 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.5232, allocations: 100 kB / 1.406 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.5233, allocations: 3.938 kB / 1.406 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.5233, allocations: 0 / 1.406 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5234, allocations: 322.8 kB / 1.407 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.5234, allocations: 0 / 1.407 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.5234, allocations: 8 kB / 1.407 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.5235, allocations: 11.98 kB / 1.407 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5235, allocations: 0 / 1.407 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.5236, allocations: 41.64 kB / 1.407 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5236, allocations: 9.562 kB / 1.407 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.5237, allocations: 0 / 1.407 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5237, allocations: 0 / 1.407 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.5237, allocations: 4.047 kB / 1.407 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5237, allocations: 3.984 kB / 1.407 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.5237, allocations: 7.891 kB / 1.407 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5237, allocations: 64 / 1.407 GB, free: 5.328 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 0.0001249/0.5239, allocations: 200.9 kB / 1.407 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.5239, allocations: 101 kB / 1.407 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.524, allocations: 112.8 kB / 1.407 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/0.5241, allocations: 180.2 kB / 1.407 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-05/0.5242, allocations: 184.1 kB / 1.408 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.122e-05/0.5242, allocations: 188.3 kB / 1.408 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.5245, allocations: 409.2 kB / 1.408 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-05/0.5246, allocations: 109 kB / 1.408 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.5246, allocations: 109 kB / 1.408 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-05/0.5247, allocations: 180.2 kB / 1.409 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.699e-05/0.5248, allocations: 184.3 kB / 1.409 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-05/0.5249, allocations: 176.3 kB / 1.409 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.224e-05/0.5249, allocations: 184.2 kB / 1.409 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.5251, allocations: 315.6 kB / 1.409 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/0.5252, allocations: 186 kB / 1.41 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.5253, allocations: 180.3 kB / 1.41 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.5254, allocations: 108.9 kB / 1.41 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.5255, allocations: 177.1 kB / 1.41 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.5255, allocations: 112.9 kB / 1.41 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.5256, allocations: 99.27 kB / 1.41 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.593e-06/0.5256, allocations: 0 / 1.41 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00104/0.5266, allocations: 319.4 kB / 1.411 GB, free: 1.371 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.001761/0.5284, allocations: 1.179 MB / 1.412 GB, free: 168 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 9.576e-05/0.5285, allocations: 41.64 kB / 1.412 GB, free: 120 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5285, allocations: 0 / 1.412 GB, free: 120 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.5285, allocations: 4 kB / 1.412 GB, free: 116 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.5289, allocations: 0.5225 MB / 1.412 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.53, allocations: 0.6142 MB / 1.413 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.5303, allocations: 0.6809 MB / 1.413 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.5303, allocations: 0 / 1.413 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.5303, allocations: 20.45 kB / 1.414 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of SimCode: time 3.1e-07/0.5303, allocations: 0 / 1.414 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.5521, allocations: 6.263 MB / 1.42 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.5524, allocations: 255.9 kB / 1.42 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.529, allocations: 6.375 kB / 1.42 GB, free: 7.82 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat