Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.23/2.23, allocations: 393.5 MB / 408.4 MB, free: 11 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.00117/0.00117, allocations: 178.5 kB / 0.4901 GB, free: 2.25 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.47/1.47, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009783/0.0009783, allocations: 92.59 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 13.62 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.4858, allocations: 158.1 MB / 1.384 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.4861, allocations: 107.9 kB / 1.384 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05477/0.5409, allocations: 16.48 MB / 1.4 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.816e-06/0.541, allocations: 0 / 1.4 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.533e-05/0.541, allocations: 8 kB / 1.4 GB, free: 6.352 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002328/0.5433, allocations: 0.8783 MB / 1.401 GB, free: 5.418 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.5434, allocations: 12.56 kB / 1.401 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/0.5435, allocations: 46.55 kB / 1.401 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.5437, allocations: 43.48 kB / 1.401 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.5444, allocations: 373.9 kB / 1.401 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.5444, allocations: 28 kB / 1.401 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5446, allocations: 47.89 kB / 1.401 GB, free: 4.832 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.545, allocations: 206.3 kB / 1.401 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.545, allocations: 0 / 1.401 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.545, allocations: 4 kB / 1.401 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.545, allocations: 4 kB / 1.401 GB, free: 4.617 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.5454, allocations: 175.9 kB / 1.402 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.5504, allocations: 1.526 MB / 1.403 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.5522, allocations: 0.5812 MB / 1.404 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.5523, allocations: 12.34 kB / 1.404 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5523, allocations: 38.56 kB / 1.404 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=24): time 2.975e-06/0.5523, allocations: 4 kB / 1.404 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24): time 0.0011/0.5534, allocations: 0.5491 MB / 1.404 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.5535, allocations: 55.41 kB / 1.404 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.5538, allocations: 356.5 kB / 1.405 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/0.5539, allocations: 41.7 kB / 1.405 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.5541, allocations: 165.1 kB / 1.405 GB, free: 1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5542, allocations: 98.56 kB / 1.405 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.5542, allocations: 12 kB / 1.405 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5544, allocations: 350.8 kB / 1.405 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.555, allocations: 349.1 kB / 1.406 GB, free: 200 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5501/1.105, allocations: 409.4 kB / 1.406 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/1.106, allocations: 416.2 kB / 1.406 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.106, allocations: 0 / 1.406 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001738/1.108, allocations: 0.9312 MB / 1.407 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/1.108, allocations: 41.25 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.108, allocations: 0.6094 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/1.108, allocations: 30.45 kB / 1.407 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/1.109, allocations: 152.6 kB / 1.408 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008512/1.11, allocations: 1.334 MB / 1.409 GB, free: 166 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.112, allocations: 106.7 kB / 1.409 GB, free: 166 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/1.112, allocations: 34.22 kB / 1.409 GB, free: 166 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/1.112, allocations: 184.8 kB / 1.409 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/1.112, allocations: 31.84 kB / 1.409 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/1.112, allocations: 40.27 kB / 1.409 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.112, allocations: 3.094 kB / 1.409 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.112, allocations: 0.9375 kB / 1.409 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.112, allocations: 1.781 kB / 1.409 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/1.113, allocations: 0.5014 MB / 1.41 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.113, allocations: 2.031 kB / 1.41 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.113, allocations: 44.17 kB / 1.41 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.89e-05/1.113, allocations: 27.95 kB / 1.41 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/1.113, allocations: 11.89 kB / 1.41 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006984/1.114, allocations: 1.329 MB / 1.411 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.114, allocations: 2.438 kB / 1.411 GB, free: 164.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/1.115, allocations: 0.6027 MB / 1.412 GB, free: 164.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/1.115, allocations: 117.1 kB / 1.412 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/1.115, allocations: 11.69 kB / 1.412 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/1.115, allocations: 30.38 kB / 1.412 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/1.116, allocations: 17.69 kB / 1.412 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/1.116, allocations: 7.547 kB / 1.412 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002558/1.116, allocations: 257.8 kB / 1.412 GB, free: 164 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/1.116, allocations: 3.828 kB / 1.412 GB, free: 164 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008432/1.117, allocations: 274.9 kB / 1.412 GB, free: 164 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/1.118, allocations: 1.28 MB / 1.414 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.119, allocations: 0.7538 MB / 1.414 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.119, allocations: 2.969 kB / 1.414 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/1.12, allocations: 264 kB / 1.415 GB, free: 163 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/1.12, allocations: 85.02 kB / 1.415 GB, free: 163 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/1.122, allocations: 1.86 MB / 1.417 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.123, allocations: 0.8194 MB / 1.417 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003385/1.123, allocations: 110.5 kB / 1.417 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.123, allocations: 130.9 kB / 1.418 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/1.123, allocations: 1.375 kB / 1.418 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/1.154, allocations: 12.95 MB / 1.43 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.155, allocations: 246.3 kB / 1.43 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.742, allocations: 0 / 1.43 GB, free: 160.4 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat