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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003296, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6774, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001143/0.6785, allocations: 1.035 MB / 0.9546 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.8304, allocations: 125 MB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.8305, allocations: 4 kB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.8306, allocations: 3.984 kB / 1.077 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.8307, allocations: 31.89 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.8315, allocations: 231.3 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.8315, allocations: 35.94 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.8316, allocations: 12 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.8316, allocations: 19.92 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.8317, allocations: 27.97 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.8317, allocations: 4 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.8323, allocations: 299.5 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.8324, allocations: 19.98 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.8324, allocations: 29.7 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.8327, allocations: 153.8 kB / 1.078 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.8327, allocations: 0 / 1.078 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.866e-06/0.8327, allocations: 4 kB / 1.078 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.8327, allocations: 4 kB / 1.078 GB, free: 0.957 MB / 0.8262 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.0003275/0.833, allocations: 383.2 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.8331, allocations: 8.031 kB / 1.078 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.8331, allocations: 34.56 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.8331, allocations: 3.906 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.663e-05/0.8332, allocations: 171 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.8332, allocations: 7.984 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.8333, allocations: 4 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.8334, allocations: 93.59 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8334, allocations: 3.953 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.8335, allocations: 3.938 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.8335, allocations: 16 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.8336, allocations: 71.95 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.834, allocations: 348.6 kB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.8342, allocations: 98.48 kB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000767/0.835, allocations: 485.5 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.835, allocations: 34.56 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.835, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0002322/0.8353, allocations: 121.7 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.8353, allocations: 51.41 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.8354, allocations: 121.8 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.8354, allocations: 25.8 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.8354, allocations: 96.2 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.8355, allocations: 47.44 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.8355, allocations: 0 / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.8356, allocations: 322.8 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.8356, allocations: 27.98 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.8357, allocations: 70.67 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/0.8358, allocations: 43.98 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8358, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001809/0.836, allocations: 141.4 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.836, allocations: 4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.836, allocations: 4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.836, allocations: 0 / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.8361, allocations: 31.92 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.8361, allocations: 0 / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.8362, allocations: 20 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.8362, allocations: 4 kB / 1.08 GB, free: 13.79 MB / 0.8419 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 8.245e-05/0.8363, allocations: 125.8 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.8363, allocations: 11.86 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.8365, allocations: 118.5 kB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.8365, allocations: 4 kB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.8365, allocations: 4 kB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8366, allocations: 3.984 kB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.8367, allocations: 181.5 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8367, allocations: 4 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.8368, allocations: 19.92 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8368, allocations: 4.203 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.8368, allocations: 4 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.8368, allocations: 4 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8368, allocations: 0 / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.837, allocations: 199.5 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.8371, allocations: 89 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.8371, allocations: 3.953 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.8372, allocations: 8 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.8372, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.8372, allocations: 11.97 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.8372, allocations: 87.28 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8372, allocations: 0 / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003198/0.8376, allocations: 71.92 kB / 1.081 GB, free: 12.75 MB / 0.8419 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.0005901/0.8382, allocations: 0.8255 MB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.8383, allocations: 83.84 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8383, allocations: 0 / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.8384, allocations: 39.92 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.8386, allocations: 19.88 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.839, allocations: 265.1 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.8393, allocations: 0.6926 MB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.8394, allocations: 52.98 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.8395, allocations: 27.36 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.8395, allocations: 0 / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.8512, allocations: 2.927 MB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.8514, allocations: 241.9 kB / 1.086 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.486, allocations: 0 / 1.086 GB, free: 7.723 MB / 0.8419 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