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.295/2.295, allocations: 390.5 MB / 398 MB, free: 10.93 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.001272/0.001272, allocations: 171.3 kB / 491.2 MB, free: 1.586 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.705/1.705, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001021/0.001021, allocations: 101.3 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.769e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3105, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.45, allocations: 150.9 MB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.451, allocations: 94.06 kB / 1.36 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01206/1.463, allocations: 3.547 MB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.874e-06/1.463, allocations: 0 / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.594e-06/1.463, allocations: 0 / 1.363 GB, free: 33.1 MB / 0.8386 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.0003755/1.463, allocations: 377 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.463, allocations: 7.656 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/1.463, allocations: 3.844 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.463, allocations: 186.1 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/1.463, allocations: 0 / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/1.463, allocations: 0 / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.916e-05/1.463, allocations: 33.11 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.652e-05/1.464, allocations: 49.53 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.464, allocations: 0 / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/1.464, allocations: 4 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/1.464, allocations: 0 / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/1.464, allocations: 159.2 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/1.464, allocations: 49.77 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/1.464, allocations: 23.47 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/1.464, allocations: 9.328 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/1.464, allocations: 38.5 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.464, allocations: 3.938 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/1.464, allocations: 68.11 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/1.464, allocations: 51.41 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/1.464, allocations: 121.4 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/1.464, allocations: 29.52 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/1.464, allocations: 88.91 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.464, allocations: 7.812 kB / 1.365 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/1.464, allocations: 0 / 1.365 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/1.464, allocations: 321.6 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/1.465, allocations: 36.52 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/1.465, allocations: 35.5 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/1.465, allocations: 45.95 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.465, allocations: 0 / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001709/1.465, allocations: 124.2 kB / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.465, allocations: 3.844 kB / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.465, allocations: 7.906 kB / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.465, allocations: 0 / 1.365 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/1.465, allocations: 9.25 kB / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.465, allocations: 2.125 kB / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/1.465, allocations: 0 / 1.365 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/1.465, allocations: 5.484 kB / 1.365 GB, free: 31.55 MB / 0.8386 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 () * 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 6.306e-05/1.465, allocations: 101 kB / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/1.465, allocations: 11.7 kB / 1.365 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.465, allocations: 81.06 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.465, allocations: 3.984 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.465, allocations: 1.859 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.465, allocations: 4 kB / 1.365 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.846e-05/1.465, allocations: 153.7 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.465, allocations: 0 / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/1.465, allocations: 3.844 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/1.465, allocations: 0 / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/1.465, allocations: 6.016 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.465, allocations: 3.875 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.465, allocations: 0 / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/1.466, allocations: 99.05 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/1.466, allocations: 82.42 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/1.466, allocations: 4.75 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.228e-05/1.466, allocations: 3.953 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/1.466, allocations: 1.266 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/1.466, allocations: 3.812 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.653e-05/1.466, allocations: 100.4 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.466, allocations: 3.938 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003112/1.466, allocations: 72.58 kB / 1.366 GB, free: 30.96 MB / 0.8386 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 (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.0003278/1.466, allocations: 181.6 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001164/1.467, allocations: 61.48 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.467, allocations: 4 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/1.467, allocations: 18.3 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/1.467, allocations: 26.92 kB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/1.467, allocations: 102.5 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/1.467, allocations: 0.7014 MB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.355e-05/1.467, allocations: 9.547 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/1.467, allocations: 11.28 kB / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.467, allocations: 0 / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of Templates: time 0.004414/1.472, allocations: 1.977 MB / 1.369 GB, free: 29.93 MB / 0.8386 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