Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.375/2.375, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001473/0.001473, allocations: 183.7 kB / 0.4902 GB, free: 2.289 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.704/1.704, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001096/0.001096, allocations: 101.9 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 9.578 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3419, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.545, allocations: 151.6 MB / 1.377 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.5454, allocations: 91.94 kB / 1.377 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.5566, allocations: 3.581 MB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.826e-06/0.5567, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5567, allocations: 0 / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004566/0.5572, allocations: 379.1 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5572, allocations: 8.562 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.5573, allocations: 7.906 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.5574, allocations: 182.8 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5575, allocations: 0 / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.5575, allocations: 0 / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.5576, allocations: 57.62 kB / 1.382 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5577, allocations: 0 / 1.382 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5577, allocations: 3.938 kB / 1.382 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5577, allocations: 0 / 1.382 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.5578, allocations: 35.97 kB / 1.382 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.558, allocations: 177.6 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.5581, allocations: 50.55 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.5582, allocations: 8.062 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.5582, allocations: 34.56 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.5582, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.5584, allocations: 85.59 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5585, allocations: 51.41 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5586, allocations: 128.9 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5586, allocations: 25.7 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.5587, allocations: 100.2 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5587, allocations: 3.906 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.5587, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5589, allocations: 318.8 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.559, allocations: 39.97 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.559, allocations: 39.97 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.5591, allocations: 39.94 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5591, allocations: 0 / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.5593, allocations: 121.6 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5593, allocations: 4 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5593, allocations: 8 kB / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5593, allocations: 0 / 1.383 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.5594, allocations: 7.984 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5594, allocations: 0 / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.5594, allocations: 7.844 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.5595, allocations: 4 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 1 * 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.366e-05/0.5596, allocations: 117.8 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5596, allocations: 11.89 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.5597, allocations: 85.14 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5598, allocations: 4 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5598, allocations: 0 / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5598, allocations: 0 / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.5599, allocations: 177.7 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5599, allocations: 3.953 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.56, allocations: 7.938 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.56, allocations: 96 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.56, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.56, allocations: 0 / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.56, allocations: 3.984 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.5601, allocations: 101.1 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.5602, allocations: 88.95 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5602, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/0.5602, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.5602, allocations: 4 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.5603, allocations: 0 / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.049e-05/0.5603, allocations: 107.2 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5603, allocations: 4.031 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002981/0.5606, allocations: 63.94 kB / 1.383 GB, free: 11.28 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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.0004032/0.5611, allocations: 187.9 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.5612, allocations: 71.91 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5612, allocations: 0 / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.5613, allocations: 12 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.5615, allocations: 33.66 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.5618, allocations: 161 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.5622, allocations: 0.6926 MB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.5622, allocations: 7.938 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.5622, allocations: 11.44 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5623, allocations: 0 / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of Templates: time 0.00522/0.5675, allocations: 2.066 MB / 1.387 GB, free: 8.035 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches