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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 99.86 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.001963/0.001963, 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 2.284/2.284, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.142/4.142, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003887, allocations: 12 kB / 0.8375 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.739, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001334/0.7404, allocations: 1.028 MB / 0.9819 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.8712, allocations: 125 MB / 1.104 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.8713, allocations: 0 / 1.104 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.8714, allocations: 0 / 1.104 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.8715, allocations: 23.95 kB / 1.104 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.8723, allocations: 239.3 kB / 1.104 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.8724, allocations: 31.95 kB / 1.104 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.8725, allocations: 11.88 kB / 1.104 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.8725, allocations: 23.97 kB / 1.104 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.8726, allocations: 31.91 kB / 1.104 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.8726, allocations: 8 kB / 1.104 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.8732, allocations: 287.5 kB / 1.105 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.8733, allocations: 23.97 kB / 1.105 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.8733, allocations: 37.64 kB / 1.105 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.8736, allocations: 146 kB / 1.105 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.8736, allocations: 0 / 1.105 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8736, allocations: 0 / 1.105 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.8736, allocations: 0 / 1.105 GB, free: 7.098 MB / 0.8575 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.0003268/0.8739, allocations: 387.2 kB / 1.105 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.874, allocations: 12.03 kB / 1.105 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.874, allocations: 30.56 kB / 1.105 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.874, allocations: 11.84 kB / 1.105 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.258e-05/0.8741, allocations: 178.8 kB / 1.105 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.8742, allocations: 8 kB / 1.105 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.8742, allocations: 3.984 kB / 1.105 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.8743, allocations: 89.66 kB / 1.105 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.8743, allocations: 0 / 1.105 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.8744, allocations: 0 / 1.105 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.8744, allocations: 16 kB / 1.105 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.8745, allocations: 75.95 kB / 1.106 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.8749, allocations: 348.6 kB / 1.106 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.8751, allocations: 94.48 kB / 1.106 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007801/0.8759, allocations: 485.5 kB / 1.106 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.8759, allocations: 34.56 kB / 1.106 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.8759, allocations: 0 / 1.106 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002348/0.8761, allocations: 125.8 kB / 1.107 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.8762, allocations: 55.41 kB / 1.107 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.777e-05/0.8763, allocations: 121.8 kB / 1.107 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.8763, allocations: 25.7 kB / 1.107 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.8763, allocations: 96.27 kB / 1.107 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.8764, allocations: 39.45 kB / 1.107 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.8764, allocations: 0 / 1.107 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.8765, allocations: 322.8 kB / 1.107 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.8765, allocations: 27.98 kB / 1.107 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.8766, allocations: 74.25 kB / 1.107 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.8767, allocations: 43.92 kB / 1.107 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8767, allocations: 0 / 1.107 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001807/0.8768, allocations: 149.8 kB / 1.108 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.8769, allocations: 4 kB / 1.108 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8769, allocations: 0 / 1.108 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.8769, allocations: 4 kB / 1.108 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.877, allocations: 23.98 kB / 1.108 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.877, allocations: 4 kB / 1.108 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.8771, allocations: 11.94 kB / 1.108 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.8771, allocations: 7.953 kB / 1.108 GB, free: 3.914 MB / 0.8575 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.614e-05/0.8772, allocations: 131.6 kB / 1.108 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.8772, allocations: 7.906 kB / 1.108 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.8774, allocations: 122 kB / 1.108 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8774, allocations: 0 / 1.108 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8774, allocations: 7.922 kB / 1.108 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8774, allocations: 7.938 kB / 1.108 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.8776, allocations: 189.4 kB / 1.108 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8776, allocations: 4 kB / 1.108 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.8777, allocations: 16 kB / 1.108 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8777, allocations: 0 / 1.108 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8777, allocations: 0 / 1.108 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.8777, allocations: 4 kB / 1.108 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8777, allocations: 3.984 kB / 1.108 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.8779, allocations: 203.5 kB / 1.108 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.8779, allocations: 89.09 kB / 1.108 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.878, allocations: 4 kB / 1.108 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.471e-05/0.878, allocations: 7.938 kB / 1.108 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.8781, allocations: 11.92 kB / 1.108 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.8781, allocations: 4 kB / 1.108 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.8781, allocations: 91.53 kB / 1.108 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8781, allocations: 0 / 1.108 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003112/0.8784, allocations: 75.92 kB / 1.108 GB, free: 2.859 MB / 0.8575 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.0005839/0.879, allocations: 0.8098 MB / 1.109 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.8792, allocations: 83.84 kB / 1.109 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8792, allocations: 320 / 1.109 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.8792, allocations: 43.97 kB / 1.109 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.8794, allocations: 11.94 kB / 1.109 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.8799, allocations: 264.8 kB / 1.11 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.8801, allocations: 0.6965 MB / 1.11 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.8803, allocations: 53.08 kB / 1.11 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.8803, allocations: 19.44 kB / 1.11 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.8803, allocations: 4 kB / 1.11 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.8927, allocations: 2.916 MB / 1.113 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.8929, allocations: 246.7 kB / 1.114 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.557, allocations: 3.938 kB / 1.114 GB, free: 13.86 MB / 0.8731 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) Environment - environmentSimulation: 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