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.00108/0.00108, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001372/0.001372, allocations: 168.7 kB / 15.95 MB, free: 200 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.33/1.33, allocations: 223.2 MB / 240 MB, free: 5.438 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.269/2.269, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5941, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001073/0.5953, allocations: 1.043 MB / 0.9549 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.7442, allocations: 134.3 MB / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.7443, allocations: 0 / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.7443, allocations: 4 kB / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.7445, allocations: 47.73 kB / 1.086 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.7453, allocations: 254.9 kB / 1.086 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.7455, allocations: 139.6 kB / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.7455, allocations: 4 kB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.7456, allocations: 27.97 kB / 1.086 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.7457, allocations: 63.88 kB / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.7457, allocations: 0 / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.7464, allocations: 307.3 kB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.7464, allocations: 19.97 kB / 1.087 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.7465, allocations: 45.62 kB / 1.087 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.7467, allocations: 169.9 kB / 1.087 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7467, allocations: 0 / 1.087 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7467, allocations: 4 kB / 1.087 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.7467, allocations: 0 / 1.087 GB, free: 7.352 MB / 0.8419 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.0003549/0.7471, allocations: 387.1 kB / 1.087 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.7471, allocations: 12.03 kB / 1.087 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.7472, allocations: 38.55 kB / 1.087 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.7472, allocations: 7.906 kB / 1.087 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.7473, allocations: 163 kB / 1.088 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.7473, allocations: 4 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.7473, allocations: 4 kB / 1.088 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7475, allocations: 101.5 kB / 1.088 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7475, allocations: 3.953 kB / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.7475, allocations: 7.938 kB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.7476, allocations: 11.98 kB / 1.088 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.7477, allocations: 82.2 kB / 1.088 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.7481, allocations: 332.7 kB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.7482, allocations: 98.47 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.345e-05/0.7483, allocations: 52.91 kB / 1.088 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/0.7491, allocations: 493.4 kB / 1.089 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.7491, allocations: 34.56 kB / 1.089 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.7491, allocations: 0 / 1.089 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0002355/0.7494, allocations: 129.5 kB / 1.089 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.7494, allocations: 51.41 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.7495, allocations: 117.9 kB / 1.089 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.7495, allocations: 25.7 kB / 1.089 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.7496, allocations: 92.19 kB / 1.089 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.7496, allocations: 43.39 kB / 1.089 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.7496, allocations: 0 / 1.089 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7497, allocations: 322.8 kB / 1.09 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.7498, allocations: 27.98 kB / 1.09 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.7498, allocations: 69.12 kB / 1.09 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.7499, allocations: 51.92 kB / 1.09 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.7499, allocations: 7.953 kB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001993/0.7501, allocations: 133.5 kB / 1.09 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7501, allocations: 8 kB / 1.09 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.7502, allocations: 0 / 1.09 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.7502, allocations: 4 kB / 1.09 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.7503, allocations: 27.98 kB / 1.09 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7503, allocations: 0 / 1.09 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.7503, allocations: 12 kB / 1.09 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.7503, allocations: 12 kB / 1.09 GB, free: 4.109 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 9.055e-05/0.7504, allocations: 125.8 kB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.7505, allocations: 11.86 kB / 1.09 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.7507, allocations: 118.5 kB / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7507, allocations: 4 kB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7507, allocations: 7.938 kB / 1.09 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7507, allocations: 3.984 kB / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7509, allocations: 181.8 kB / 1.09 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7509, allocations: 7.938 kB / 1.09 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.751, allocations: 19.94 kB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.751, allocations: 0 / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.751, allocations: 8 kB / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.751, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.751, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.7512, allocations: 195.5 kB / 1.091 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.7512, allocations: 92.94 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.7513, allocations: 11.89 kB / 1.091 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.7513, allocations: 4 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.7513, allocations: 7.938 kB / 1.091 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.7514, allocations: 0 / 1.091 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.7514, allocations: 91.27 kB / 1.091 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7514, allocations: 0 / 1.091 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003214/0.7517, allocations: 75.92 kB / 1.091 GB, free: 3.062 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.0005946/0.7523, allocations: 0.8162 MB / 1.092 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.7525, allocations: 83.89 kB / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7525, allocations: 0 / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.7526, allocations: 39.98 kB / 1.092 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.7528, allocations: 15.94 kB / 1.092 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.7533, allocations: 270.5 kB / 1.092 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.7535, allocations: 0.6887 MB / 1.093 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.7537, allocations: 52.88 kB / 1.093 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.7537, allocations: 19.44 kB / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.7537, allocations: 0 / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.7665, allocations: 2.938 MB / 1.096 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.7667, allocations: 246.5 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.484, allocations: 0 / 1.096 GB, free: 14.02 MB / 0.8575 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