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.309/2.309, allocations: 390.5 MB / 398 MB, free: 10.91 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.001166/0.001166, allocations: 180.8 kB / 491.2 MB, free: 1.539 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.649/1.649, allocations: 221.5 MB / 0.7868 GB, free: 13.23 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.001041/0.001041, allocations: 107.4 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.533e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3328, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.121/5.454, allocations: 1.713 GB / 2.925 GB, free: 125.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/5.454, allocations: 99.2 kB / 2.926 GB, free: 125.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.055/5.509, allocations: 27.65 MB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.343e-06/5.509, allocations: 4 kB / 2.953 GB, free: 102.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.725e-06/5.509, allocations: 0 / 2.953 GB, free: 102.6 MB / 1.151 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.0004569/5.51, allocations: 398.2 kB / 2.953 GB, free: 102.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/5.51, allocations: 12.03 kB / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/5.51, allocations: 0 / 2.953 GB, free: 102.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/5.51, allocations: 167.1 kB / 2.953 GB, free: 101.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/5.51, allocations: 0 / 2.953 GB, free: 101.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/5.51, allocations: 4 kB / 2.953 GB, free: 101.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/5.51, allocations: 66.41 kB / 2.953 GB, free: 101.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/5.51, allocations: 96.06 kB / 2.953 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/5.51, allocations: 0 / 2.953 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/5.51, allocations: 3.938 kB / 2.953 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/5.51, allocations: 11.98 kB / 2.953 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/5.511, allocations: 315.7 kB / 2.954 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/5.511, allocations: 92.88 kB / 2.954 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/5.511, allocations: 52.53 kB / 2.954 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/5.512, allocations: 457.4 kB / 2.954 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/5.512, allocations: 34.12 kB / 2.954 GB, free: 100.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/5.512, allocations: 0 / 2.954 GB, free: 100.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.07678/5.589, allocations: 8.852 MB / 2.963 GB, free: 92.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/5.589, allocations: 51.62 kB / 2.963 GB, free: 92.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/5.589, allocations: 104.2 kB / 2.963 GB, free: 92.07 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/5.589, allocations: 29.64 kB / 2.963 GB, free: 92.04 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/5.589, allocations: 99.81 kB / 2.963 GB, free: 91.94 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/5.589, allocations: 38.52 kB / 2.963 GB, free: 91.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/5.589, allocations: 0 / 2.963 GB, free: 91.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/5.589, allocations: 314.3 kB / 2.963 GB, free: 91.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/5.589, allocations: 31.61 kB / 2.963 GB, free: 91.56 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/5.589, allocations: 77.67 kB / 2.964 GB, free: 91.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07713/5.666, allocations: 8.795 MB / 2.972 GB, free: 83.03 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/5.666, allocations: 4 kB / 2.972 GB, free: 83.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07736/5.744, allocations: 8.879 MB / 2.981 GB, free: 74.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/5.744, allocations: 9.516 kB / 2.981 GB, free: 74.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/5.744, allocations: 7.984 kB / 2.981 GB, free: 74.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/5.744, allocations: 7.875 kB / 2.981 GB, free: 74.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/5.744, allocations: 27.98 kB / 2.981 GB, free: 74.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/5.744, allocations: 0 / 2.981 GB, free: 74.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/5.744, allocations: 8.062 kB / 2.981 GB, free: 74.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/5.744, allocations: 10.94 kB / 2.981 GB, free: 74.43 MB / 1.151 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 7.391e-05/5.744, allocations: 108.9 kB / 2.981 GB, free: 74.32 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07625/5.82, allocations: 8.843 MB / 2.99 GB, free: 65.47 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/5.821, allocations: 11.86 kB / 2.99 GB, free: 65.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07708/5.898, allocations: 8.885 MB / 2.998 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/5.898, allocations: 4 kB / 2.998 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/5.898, allocations: 0 / 2.998 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/5.898, allocations: 0 / 2.998 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/5.898, allocations: 154.2 kB / 2.998 GB, free: 56.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/5.898, allocations: 0 / 2.998 GB, free: 56.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/5.898, allocations: 19.98 kB / 2.998 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/5.898, allocations: 3.953 kB / 2.998 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/5.898, allocations: 0 / 2.998 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/5.898, allocations: 0 / 2.998 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/5.898, allocations: 256 / 2.998 GB, free: 56.34 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07584/5.974, allocations: 8.957 MB / 3.007 GB, free: 47.36 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/5.974, allocations: 89.03 kB / 3.007 GB, free: 47.25 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/5.974, allocations: 7.953 kB / 3.007 GB, free: 47.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/5.974, allocations: 0 / 3.007 GB, free: 47.24 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/5.974, allocations: 11.98 kB / 3.007 GB, free: 47.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/5.974, allocations: 4 kB / 3.007 GB, free: 47.23 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.164e-05/5.974, allocations: 87.28 kB / 3.007 GB, free: 47.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.974, allocations: 4 kB / 3.007 GB, free: 47.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004755/5.975, allocations: 103.9 kB / 3.007 GB, free: 47.04 MB / 1.151 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.07815/6.053, allocations: 10.09 MB / 3.017 GB, free: 36.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002014/6.053, allocations: 75.89 kB / 3.017 GB, free: 36.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/6.053, allocations: 8.312 kB / 3.017 GB, free: 36.82 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/6.053, allocations: 28 kB / 3.017 GB, free: 36.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/6.053, allocations: 23.81 kB / 3.017 GB, free: 36.77 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/6.054, allocations: 186.5 kB / 3.018 GB, free: 36.56 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/6.054, allocations: 0.696 MB / 3.018 GB, free: 35.84 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001259/6.054, allocations: 52.88 kB / 3.018 GB, free: 35.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/6.054, allocations: 19.42 kB / 3.018 GB, free: 35.77 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/6.054, allocations: 0 / 3.018 GB, free: 35.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/6.08, allocations: 6.865 MB / 3.025 GB, free: 28.94 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/6.081, allocations: 205.7 kB / 3.025 GB, free: 28.65 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/8.01, allocations: 1.719 kB / 3.025 GB, free: 28.65 MB / 1.151 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