Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.334/2.334, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001511/0.001511, allocations: 188.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001276/0.001276, allocations: 95.89 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.197e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3698, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.353/5.723, allocations: 1.714 GB / 2.933 GB, free: 122.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/5.723, allocations: 96.78 kB / 2.933 GB, free: 122.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05392/5.777, allocations: 28.21 MB / 2.96 GB, free: 94.33 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.192e-06/5.777, allocations: 4 kB / 2.96 GB, free: 94.33 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.342e-06/5.777, allocations: 0 / 2.96 GB, free: 94.33 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.0004158/5.778, allocations: 391 kB / 2.961 GB, free: 93.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/5.778, allocations: 12.03 kB / 2.961 GB, free: 93.89 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/5.778, allocations: 42.48 kB / 2.961 GB, free: 93.84 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/5.778, allocations: 4 kB / 2.961 GB, free: 93.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/5.778, allocations: 159.1 kB / 2.961 GB, free: 93.64 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/5.778, allocations: 4 kB / 2.961 GB, free: 93.64 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/5.778, allocations: 0 / 2.961 GB, free: 93.64 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/5.778, allocations: 93.67 kB / 2.961 GB, free: 93.54 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/5.778, allocations: 3.953 kB / 2.961 GB, free: 93.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/5.778, allocations: 7.922 kB / 2.961 GB, free: 93.53 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/5.778, allocations: 19.92 kB / 2.961 GB, free: 93.51 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/5.778, allocations: 79.91 kB / 2.961 GB, free: 93.43 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/5.779, allocations: 332.7 kB / 2.961 GB, free: 93.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/5.779, allocations: 94.61 kB / 2.961 GB, free: 92.95 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/5.779, allocations: 56.88 kB / 2.961 GB, free: 92.89 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/5.78, allocations: 465.4 kB / 2.962 GB, free: 92.35 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/5.78, allocations: 30.56 kB / 2.962 GB, free: 92.31 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/5.78, allocations: 3.938 kB / 2.962 GB, free: 92.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0001988/5.78, allocations: 99.98 kB / 2.962 GB, free: 92.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/5.78, allocations: 59.34 kB / 2.962 GB, free: 92.13 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/5.78, allocations: 105 kB / 2.962 GB, free: 92.02 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/5.78, allocations: 29.7 kB / 2.962 GB, free: 91.99 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/5.78, allocations: 92.27 kB / 2.962 GB, free: 91.89 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/5.78, allocations: 39.45 kB / 2.962 GB, free: 91.85 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/5.78, allocations: 4 kB / 2.962 GB, free: 91.85 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/5.78, allocations: 314.8 kB / 2.963 GB, free: 91.53 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/5.78, allocations: 35.92 kB / 2.963 GB, free: 91.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/5.78, allocations: 74.2 kB / 2.963 GB, free: 91.41 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/5.78, allocations: 39.97 kB / 2.963 GB, free: 91.37 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/5.78, allocations: 4 kB / 2.963 GB, free: 91.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000168/5.78, allocations: 137.6 kB / 2.963 GB, free: 91.22 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/5.78, allocations: 11.94 kB / 2.963 GB, free: 91.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/5.78, allocations: 0 / 2.963 GB, free: 91.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/5.78, allocations: 4 kB / 2.963 GB, free: 91.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/5.781, allocations: 31.92 kB / 2.963 GB, free: 91.18 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/5.781, allocations: 7.984 kB / 2.963 GB, free: 91.17 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/5.781, allocations: 11.91 kB / 2.963 GB, free: 91.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/5.781, allocations: 4.156 kB / 2.963 GB, free: 91.15 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 () * 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 5.042e-05/5.781, allocations: 112.9 kB / 2.963 GB, free: 91.04 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/5.781, allocations: 7.953 kB / 2.963 GB, free: 91.03 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/5.781, allocations: 135.3 kB / 2.963 GB, free: 90.89 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/5.781, allocations: 0 / 2.963 GB, free: 90.89 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/5.781, allocations: 0 / 2.963 GB, free: 90.89 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/5.781, allocations: 0 / 2.963 GB, free: 90.89 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/5.781, allocations: 185.6 kB / 2.963 GB, free: 90.66 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/5.781, allocations: 0 / 2.963 GB, free: 90.66 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/5.781, allocations: 15.98 kB / 2.963 GB, free: 90.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/5.781, allocations: 7.953 kB / 2.963 GB, free: 90.64 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/5.781, allocations: 7.938 kB / 2.963 GB, free: 90.63 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/5.781, allocations: 0 / 2.963 GB, free: 90.63 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/5.781, allocations: 0 / 2.963 GB, free: 90.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/5.781, allocations: 191.4 kB / 2.964 GB, free: 90.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/5.781, allocations: 104.9 kB / 2.964 GB, free: 90.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/5.781, allocations: 3.953 kB / 2.964 GB, free: 90.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/5.782, allocations: 0 / 2.964 GB, free: 90.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/5.782, allocations: 7.984 kB / 2.964 GB, free: 90.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/5.782, allocations: 8 kB / 2.964 GB, free: 90.29 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.2e-05/5.782, allocations: 87.27 kB / 2.964 GB, free: 90.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.782, allocations: 0 / 2.964 GB, free: 90.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004447/5.782, allocations: 115.9 kB / 2.964 GB, free: 90.09 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 () * 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.001016/5.783, allocations: 1.257 MB / 2.965 GB, free: 88.81 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001489/5.783, allocations: 84.23 kB / 2.965 GB, free: 88.73 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/5.783, allocations: 0 / 2.965 GB, free: 88.73 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/5.783, allocations: 40.03 kB / 2.965 GB, free: 88.69 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/5.783, allocations: 25.34 kB / 2.965 GB, free: 88.66 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/5.784, allocations: 199.4 kB / 2.965 GB, free: 88.43 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/5.784, allocations: 0.6887 MB / 2.966 GB, free: 87.72 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001213/5.784, allocations: 56.64 kB / 2.966 GB, free: 87.66 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/5.784, allocations: 19.44 kB / 2.966 GB, free: 87.64 MB / 1.167 GB Notification: Performance of SimCode: time 2.41e-07/5.784, allocations: 0 / 2.966 GB, free: 87.64 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/5.81, allocations: 13.56 MB / 2.979 GB, free: 74.29 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/5.811, allocations: 213.2 kB / 2.98 GB, free: 74.06 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/8.083, allocations: 1.781 kB / 2.98 GB, free: 74.06 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat does not exist to compare? outputFormat=mat