Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001471/0.001471, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.633/1.633, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001103/0.001103, allocations: 105.7 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.084e-05, allocations: 0 / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3171, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.461, allocations: 157.2 MB / 1.366 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.461, allocations: 103.2 kB / 1.366 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04984/1.511, allocations: 16.49 MB / 1.382 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/1.511, allocations: 0 / 1.382 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.088e-05/1.511, allocations: 11.69 kB / 1.382 GB, free: 31.7 MB / 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.002268/1.514, allocations: 0.8109 MB / 1.383 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.514, allocations: 11.22 kB / 1.383 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.453e-05/1.514, allocations: 47.45 kB / 1.383 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/1.514, allocations: 42.75 kB / 1.383 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/1.515, allocations: 376.6 kB / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/1.515, allocations: 25.75 kB / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/1.515, allocations: 38.22 kB / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/1.515, allocations: 197.3 kB / 1.384 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.515, allocations: 0 / 1.384 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/1.515, allocations: 6.25 kB / 1.384 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.515, allocations: 3.969 kB / 1.384 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/1.515, allocations: 161.3 kB / 1.384 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/1.52, allocations: 1.528 MB / 1.385 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.522, allocations: 0.5805 MB / 1.386 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/1.522, allocations: 133.6 kB / 1.386 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/1.522, allocations: 4.656 kB / 1.386 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/1.522, allocations: 38.33 kB / 1.386 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=24): time 1.944e-06/1.522, allocations: 0 / 1.386 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24): time 0.00075/1.523, allocations: 338 kB / 1.386 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.523, allocations: 55.22 kB / 1.387 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/1.523, allocations: 349.3 kB / 1.387 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/1.523, allocations: 38.61 kB / 1.387 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.524, allocations: 168.1 kB / 1.387 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/1.524, allocations: 91.19 kB / 1.387 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/1.524, allocations: 14.19 kB / 1.387 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.524, allocations: 349.5 kB / 1.388 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.524, allocations: 334.2 kB / 1.388 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/1.525, allocations: 406 kB / 1.388 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/1.525, allocations: 399.3 kB / 1.389 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.525, allocations: 3.844 kB / 1.389 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001391/1.527, allocations: 0.9163 MB / 1.389 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/1.527, allocations: 35.86 kB / 1.39 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.527, allocations: 3.812 kB / 1.39 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/1.527, allocations: 27.47 kB / 1.39 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/1.528, allocations: 161.2 kB / 1.39 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/1.529, allocations: 1.323 MB / 1.391 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/1.531, allocations: 110.2 kB / 1.391 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/1.531, allocations: 22.92 kB / 1.391 GB, free: 26.9 MB / 0.8386 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 (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.0001639/1.531, allocations: 130.5 kB / 1.391 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.531, allocations: 34.75 kB / 1.391 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/1.531, allocations: 37.72 kB / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.531, allocations: 3.781 kB / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.531, allocations: 4 kB / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.531, allocations: 0 / 1.391 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/1.532, allocations: 0.5105 MB / 1.392 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.532, allocations: 0 / 1.392 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/1.532, allocations: 42.81 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/1.532, allocations: 26.88 kB / 1.392 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/1.532, allocations: 11 kB / 1.392 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008848/1.533, allocations: 1.319 MB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.533, allocations: 3.984 kB / 1.393 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/1.534, allocations: 0.5827 MB / 1.394 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.534, allocations: 118.8 kB / 1.394 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/1.534, allocations: 11.27 kB / 1.394 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/1.535, allocations: 26.34 kB / 1.394 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/1.535, allocations: 23.28 kB / 1.394 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/1.535, allocations: 7.75 kB / 1.394 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002724/1.535, allocations: 251 kB / 1.394 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.7e-07/1.535, allocations: 0 / 1.394 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008288/1.536, allocations: 271.8 kB / 1.394 GB, free: 24.55 MB / 0.8386 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 () * 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.001255/1.537, allocations: 1.259 MB / 1.396 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00117/1.539, allocations: 0.7312 MB / 1.396 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.539, allocations: 0 / 1.396 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/1.539, allocations: 252.8 kB / 1.397 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/1.539, allocations: 93.22 kB / 1.397 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.541, allocations: 1.282 MB / 1.398 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/1.542, allocations: 0.8234 MB / 1.399 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003266/1.542, allocations: 107.5 kB / 1.399 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.542, allocations: 126.9 kB / 1.399 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.542, allocations: 4 kB / 1.399 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/1.574, allocations: 13.24 MB / 1.412 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/1.575, allocations: 213.6 kB / 1.412 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/4.237, allocations: 3.406 kB / 1.412 GB, free: 10.02 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat does not exist to compare? outputFormat=mat