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.277/2.277, allocations: 393.5 MB / 408.4 MB, free: 10.88 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.001303/0.001303, allocations: 187.8 kB / 0.4902 GB, free: 2.074 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.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001022/0.001022, allocations: 98.8 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 14.25 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.384/4.718, allocations: 1.714 GB / 2.943 GB, free: 236.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/4.718, allocations: 99.92 kB / 2.943 GB, free: 236.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05491/4.773, allocations: 28.25 MB / 2.971 GB, free: 212.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.202e-06/4.773, allocations: 0 / 2.971 GB, free: 212.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.745e-06/4.773, allocations: 4 kB / 2.971 GB, free: 212.8 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.0003981/4.774, allocations: 400.4 kB / 2.971 GB, free: 212.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/4.774, allocations: 16.56 kB / 2.971 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/4.774, allocations: 34.55 kB / 2.971 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/4.774, allocations: 4 kB / 2.971 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/4.774, allocations: 162.8 kB / 2.971 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/4.774, allocations: 11.97 kB / 2.971 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/4.774, allocations: 0 / 2.971 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/4.774, allocations: 97.2 kB / 2.971 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/4.774, allocations: 3.953 kB / 2.971 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/4.774, allocations: 3.688 kB / 2.971 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/4.774, allocations: 15.98 kB / 2.971 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/4.774, allocations: 82.83 kB / 2.971 GB, free: 211.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/4.775, allocations: 338.7 kB / 2.972 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/4.775, allocations: 105.4 kB / 2.972 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/4.775, allocations: 453.2 kB / 2.972 GB, free: 210.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/4.775, allocations: 34.56 kB / 2.972 GB, free: 210.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/4.775, allocations: 0 / 2.972 GB, free: 210.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0002325/4.776, allocations: 121.4 kB / 2.972 GB, free: 210.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/4.776, allocations: 59.42 kB / 2.973 GB, free: 210.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.306e-05/4.776, allocations: 104.7 kB / 2.973 GB, free: 210.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/4.776, allocations: 29.58 kB / 2.973 GB, free: 210.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/4.776, allocations: 96.27 kB / 2.973 GB, free: 210.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/4.776, allocations: 50.75 kB / 2.973 GB, free: 210.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/4.776, allocations: 0 / 2.973 GB, free: 210.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/4.776, allocations: 318.5 kB / 2.973 GB, free: 210.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/4.776, allocations: 31.66 kB / 2.973 GB, free: 210.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/4.776, allocations: 65.91 kB / 2.973 GB, free: 210 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/4.776, allocations: 48.94 kB / 2.973 GB, free: 210 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/4.776, allocations: 0 / 2.973 GB, free: 210 MB / 1.167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001556/4.776, allocations: 143.9 kB / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/4.776, allocations: 10.34 kB / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/4.776, allocations: 0 / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/4.776, allocations: 4 kB / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/4.776, allocations: 32.08 kB / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/4.776, allocations: 4 kB / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/4.776, allocations: 11.66 kB / 2.973 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/4.776, allocations: 4.25 kB / 2.973 GB, free: 209.8 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 7.243e-05/4.777, allocations: 125.5 kB / 2.974 GB, free: 209.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/4.777, allocations: 7.953 kB / 2.974 GB, free: 209.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/4.777, allocations: 132.8 kB / 2.974 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/4.777, allocations: 0 / 2.974 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/4.777, allocations: 4 kB / 2.974 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/4.777, allocations: 0 / 2.974 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/4.777, allocations: 177.1 kB / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/4.777, allocations: 0 / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/4.777, allocations: 23.67 kB / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/4.777, allocations: 7.953 kB / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/4.777, allocations: 0 / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/4.777, allocations: 0 / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/4.777, allocations: 4 kB / 2.974 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/4.777, allocations: 193.9 kB / 2.974 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/4.777, allocations: 100.6 kB / 2.974 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/4.777, allocations: 7.953 kB / 2.974 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.02e-05/4.777, allocations: 3.688 kB / 2.974 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/4.777, allocations: 7.984 kB / 2.974 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/4.777, allocations: 0 / 2.974 GB, free: 209 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.213e-05/4.777, allocations: 90.95 kB / 2.974 GB, free: 208.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.01e-07/4.777, allocations: 4 kB / 2.974 GB, free: 208.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004524/4.778, allocations: 117.6 kB / 2.974 GB, free: 208.8 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.001001/4.779, allocations: 1.254 MB / 2.976 GB, free: 207.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001514/4.779, allocations: 83.73 kB / 2.976 GB, free: 207.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/4.779, allocations: 7.938 kB / 2.976 GB, free: 207.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/4.779, allocations: 35.55 kB / 2.976 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/4.779, allocations: 15.88 kB / 2.976 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/4.78, allocations: 279.7 kB / 2.976 GB, free: 207.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/4.78, allocations: 0.6965 MB / 2.977 GB, free: 206.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001193/4.78, allocations: 48.88 kB / 2.977 GB, free: 206.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/4.78, allocations: 22.8 kB / 2.977 GB, free: 206.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.2e-07/4.78, allocations: 0 / 2.977 GB, free: 206.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/4.802, allocations: 11.82 MB / 2.988 GB, free: 194.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/4.803, allocations: 239.8 kB / 2.989 GB, free: 194.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/6.913, allocations: 4.062 kB / 2.989 GB, free: 194.5 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