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.169/2.169, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001131/0.001131, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.727/1.727, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 95.91 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.514e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.34, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.443/4.783, allocations: 1.712 GB / 2.918 GB, free: 172.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/4.783, allocations: 100.4 kB / 2.918 GB, free: 172.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05151/4.835, allocations: 27.65 MB / 2.945 GB, free: 144.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/4.835, allocations: 0 / 2.945 GB, free: 144.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.627e-06/4.835, allocations: 4 kB / 2.945 GB, free: 144.5 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.0005293/4.835, allocations: 395.7 kB / 2.946 GB, free: 144.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/4.835, allocations: 12.03 kB / 2.946 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/4.836, allocations: 0 / 2.946 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/4.836, allocations: 167 kB / 2.946 GB, free: 143.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/4.836, allocations: 5.531 kB / 2.946 GB, free: 143.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/4.836, allocations: 4 kB / 2.946 GB, free: 143.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001684/4.836, allocations: 67.97 kB / 2.946 GB, free: 143.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/4.836, allocations: 85.66 kB / 2.946 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/4.836, allocations: 3.938 kB / 2.946 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/4.836, allocations: 3.953 kB / 2.946 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/4.836, allocations: 12 kB / 2.946 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/4.837, allocations: 313.2 kB / 2.946 GB, free: 143.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/4.837, allocations: 90.55 kB / 2.947 GB, free: 143.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/4.837, allocations: 53.12 kB / 2.947 GB, free: 143.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/4.837, allocations: 465.3 kB / 2.947 GB, free: 142.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/4.837, allocations: 34.56 kB / 2.947 GB, free: 142.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/4.837, allocations: 4 kB / 2.947 GB, free: 142.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.07362/4.911, allocations: 8.849 MB / 2.956 GB, free: 133.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/4.911, allocations: 51.41 kB / 2.956 GB, free: 133.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/4.911, allocations: 109 kB / 2.956 GB, free: 133.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/4.911, allocations: 25.7 kB / 2.956 GB, free: 133.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/4.911, allocations: 100.2 kB / 2.956 GB, free: 133.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/4.911, allocations: 35.55 kB / 2.956 GB, free: 133.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/4.911, allocations: 4 kB / 2.956 GB, free: 133.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/4.911, allocations: 318.8 kB / 2.956 GB, free: 133.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/4.911, allocations: 24 kB / 2.956 GB, free: 133.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/4.911, allocations: 69.08 kB / 2.956 GB, free: 133 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07504/4.986, allocations: 8.801 MB / 2.965 GB, free: 124.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/4.987, allocations: 0 / 2.965 GB, free: 124.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07455/5.061, allocations: 8.881 MB / 2.974 GB, free: 115.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/5.061, allocations: 7.984 kB / 2.974 GB, free: 115.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/5.061, allocations: 7.953 kB / 2.974 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/5.061, allocations: 4.156 kB / 2.974 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/5.061, allocations: 35.92 kB / 2.974 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/5.061, allocations: 3.984 kB / 2.974 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/5.061, allocations: 7.906 kB / 2.974 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/5.061, allocations: 4 kB / 2.974 GB, free: 115.2 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 6.119e-05/5.062, allocations: 105 kB / 2.974 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07427/5.136, allocations: 8.849 MB / 2.982 GB, free: 106.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/5.136, allocations: 7.953 kB / 2.982 GB, free: 106.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07543/5.211, allocations: 8.878 MB / 2.991 GB, free: 97.32 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/5.211, allocations: 7.938 kB / 2.991 GB, free: 97.31 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/5.211, allocations: 0 / 2.991 GB, free: 97.31 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/5.211, allocations: 0 / 2.991 GB, free: 97.31 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/5.212, allocations: 158.2 kB / 2.991 GB, free: 97.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/5.212, allocations: 0 / 2.991 GB, free: 97.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/5.212, allocations: 23.92 kB / 2.991 GB, free: 97.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/5.212, allocations: 4 kB / 2.991 GB, free: 97.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/5.212, allocations: 7.891 kB / 2.991 GB, free: 97.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/5.212, allocations: 0 / 2.991 GB, free: 97.08 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/5.212, allocations: 0 / 2.991 GB, free: 97.08 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07345/5.285, allocations: 8.941 MB / 3 GB, free: 88.11 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/5.285, allocations: 93.03 kB / 3 GB, free: 88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/5.285, allocations: 0 / 3 GB, free: 88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/5.285, allocations: 7.953 kB / 3 GB, free: 88 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/5.285, allocations: 7.984 kB / 3 GB, free: 87.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/5.285, allocations: 7.938 kB / 3 GB, free: 87.98 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.093e-05/5.285, allocations: 95.52 kB / 3 GB, free: 87.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.285, allocations: 0 / 3 GB, free: 87.89 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004737/5.286, allocations: 99.92 kB / 3 GB, free: 87.79 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.0761/5.362, allocations: 10.1 MB / 3.01 GB, free: 77.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002116/5.362, allocations: 75.86 kB / 3.01 GB, free: 77.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.362, allocations: 0 / 3.01 GB, free: 77.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/5.362, allocations: 35.92 kB / 3.01 GB, free: 77.54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/5.363, allocations: 7.953 kB / 3.01 GB, free: 77.53 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/5.363, allocations: 186.8 kB / 3.011 GB, free: 77.31 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/5.363, allocations: 0.7001 MB / 3.011 GB, free: 76.59 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000132/5.363, allocations: 53.19 kB / 3.011 GB, free: 76.53 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/5.364, allocations: 19.44 kB / 3.011 GB, free: 76.52 MB / 1.151 GB Notification: Performance of SimCode: time 6.91e-07/5.364, allocations: 0 / 3.011 GB, free: 76.52 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/5.394, allocations: 6.859 MB / 3.018 GB, free: 69.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/5.395, allocations: 197.7 kB / 3.018 GB, free: 69.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/7.182, allocations: 0.5625 kB / 3.018 GB, free: 69.43 MB / 1.151 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