Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",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.1/2.1, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001192/0.001192, allocations: 191.2 kB / 498.1 MB, free: 5.734 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.334/1.334, allocations: 223.1 MB / 0.7948 GB, free: 18.88 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.0008273/0.0008272, allocations: 113.8 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003348, allocations: 9.438 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2171, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.274/3.492, allocations: 1.713 GB / 2.936 GB, free: 235 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/3.492, allocations: 100.5 kB / 2.936 GB, free: 234.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05229/3.544, allocations: 28.26 MB / 2.964 GB, free: 211.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.012e-06/3.544, allocations: 0 / 2.964 GB, free: 211.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.561e-06/3.544, allocations: 4 kB / 2.964 GB, free: 211.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003573/3.545, allocations: 400.9 kB / 2.964 GB, free: 210.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/3.545, allocations: 8.031 kB / 2.964 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/3.545, allocations: 38.55 kB / 2.964 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/3.545, allocations: 3.938 kB / 2.964 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.633e-05/3.545, allocations: 167 kB / 2.964 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/3.545, allocations: 11.3 kB / 2.964 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/3.545, allocations: 4 kB / 2.964 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/3.545, allocations: 87.72 kB / 2.964 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/3.545, allocations: 3.953 kB / 2.964 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/3.545, allocations: 4 kB / 2.964 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/3.545, allocations: 15.98 kB / 2.964 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/3.545, allocations: 77.64 kB / 2.964 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/3.546, allocations: 344.3 kB / 2.965 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/3.546, allocations: 100.8 kB / 2.965 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/3.546, allocations: 456.4 kB / 2.965 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/3.546, allocations: 34.55 kB / 2.965 GB, free: 209.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/3.546, allocations: 4 kB / 2.965 GB, free: 209.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0002173/3.546, allocations: 124.4 kB / 2.965 GB, free: 209.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/3.547, allocations: 51.41 kB / 2.965 GB, free: 209.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/3.547, allocations: 104.4 kB / 2.966 GB, free: 208.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/3.547, allocations: 29.14 kB / 2.966 GB, free: 208.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/3.547, allocations: 104.2 kB / 2.966 GB, free: 208.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/3.547, allocations: 38.48 kB / 2.966 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/3.547, allocations: 0 / 2.966 GB, free: 208.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/3.547, allocations: 318.7 kB / 2.966 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/3.547, allocations: 35.59 kB / 2.966 GB, free: 208.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/3.547, allocations: 67.52 kB / 2.966 GB, free: 208.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/3.547, allocations: 43.05 kB / 2.966 GB, free: 208.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/3.547, allocations: 4 kB / 2.966 GB, free: 208.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001553/3.547, allocations: 142.6 kB / 2.966 GB, free: 208.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/3.547, allocations: 8.938 kB / 2.966 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/3.547, allocations: 3.984 kB / 2.966 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/3.547, allocations: 4 kB / 2.966 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/3.547, allocations: 27.92 kB / 2.966 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/3.547, allocations: 4 kB / 2.966 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/3.547, allocations: 11.16 kB / 2.966 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/3.547, allocations: 8.156 kB / 2.966 GB, free: 208.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 prepare postOptimizeDAE: time 6.302e-05/3.547, allocations: 128.3 kB / 2.966 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/3.547, allocations: 11.86 kB / 2.966 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/3.548, allocations: 128.5 kB / 2.967 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/3.548, allocations: 0 / 2.967 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/3.548, allocations: 0 / 2.967 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/3.548, allocations: 4 kB / 2.967 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/3.548, allocations: 180.6 kB / 2.967 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/3.548, allocations: 0 / 2.967 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/3.548, allocations: 23.61 kB / 2.967 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/3.548, allocations: 3.953 kB / 2.967 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/3.548, allocations: 0 / 2.967 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/3.548, allocations: 0 / 2.967 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/3.548, allocations: 0 / 2.967 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/3.548, allocations: 201.3 kB / 2.967 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/3.548, allocations: 96.94 kB / 2.967 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/3.548, allocations: 7.578 kB / 2.967 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/3.548, allocations: 256 / 2.967 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/3.548, allocations: 11.92 kB / 2.967 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/3.548, allocations: 8 kB / 2.967 GB, free: 207.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.468e-05/3.548, allocations: 86.89 kB / 2.967 GB, free: 207.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/3.548, allocations: 4 kB / 2.967 GB, free: 207.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004288/3.549, allocations: 109 kB / 2.967 GB, free: 207.1 MB / 1.167 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 (11): * Single equations (assignments): 11 * 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.0009016/3.549, allocations: 1.266 MB / 2.969 GB, free: 205.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001373/3.55, allocations: 82.45 kB / 2.969 GB, free: 205.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/3.55, allocations: 0 / 2.969 GB, free: 205.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/3.55, allocations: 35.41 kB / 2.969 GB, free: 205.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/3.55, allocations: 27.38 kB / 2.969 GB, free: 205.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/3.55, allocations: 271.8 kB / 2.969 GB, free: 205.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/3.55, allocations: 0.6926 MB / 2.97 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001198/3.551, allocations: 52.44 kB / 2.97 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/3.551, allocations: 23.05 kB / 2.97 GB, free: 204.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.31e-07/3.551, allocations: 0 / 2.97 GB, free: 204.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/3.573, allocations: 11.83 MB / 2.981 GB, free: 193.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/3.573, allocations: 235.7 kB / 2.981 GB, free: 192.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/5.546, allocations: 0 / 2.981 GB, free: 192.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat does not exist to compare? outputFormat=mat