Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001625/0.001626, allocations: 191.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6618, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003269/0.6652, allocations: 1.33 MB / 0.9504 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.6667, allocations: 0.8466 MB / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.6667, allocations: 0 / 0.9513 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.667, allocations: 17.2 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.6671, allocations: 1.312 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.6677, allocations: 172.4 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.6678, allocations: 16.22 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.6678, allocations: 5.359 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.6679, allocations: 4.094 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.6679, allocations: 11.39 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.668, allocations: 5.156 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.6684, allocations: 234.8 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.6684, allocations: 19.77 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.6685, allocations: 18.11 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.6688, allocations: 214.1 kB / 0.9519 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.6688, allocations: 1.469 kB / 0.9519 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6688, allocations: 0 / 0.9519 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6688, allocations: 0 / 0.9519 GB, free: 7.004 MB / 0.7169 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.0003712/0.6692, allocations: 379.6 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6693, allocations: 10.28 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.6693, allocations: 11.12 kB / 0.9523 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.6694, allocations: 179.8 kB / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.6694, allocations: 384 / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.6694, allocations: 6.438 kB / 0.9525 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.6695, allocations: 46.09 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6696, allocations: 0 / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.6696, allocations: 0 / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6696, allocations: 2 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.6696, allocations: 28.7 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.6698, allocations: 183.1 kB / 0.9527 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.6699, allocations: 51.34 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.6699, allocations: 33.75 kB / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.67, allocations: 4.312 kB / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.67, allocations: 35.97 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.67, allocations: 0 / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001809/0.6702, allocations: 87.98 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.6702, allocations: 52.59 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.6703, allocations: 137.1 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.6703, allocations: 25.7 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.6704, allocations: 94.16 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.6704, allocations: 9.719 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.6704, allocations: 19.22 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.6705, allocations: 321.7 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.6705, allocations: 44.42 kB / 0.9536 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.6706, allocations: 50.25 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.6707, allocations: 93.05 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6707, allocations: 0 / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001423/0.6709, allocations: 135 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.6709, allocations: 8.891 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6709, allocations: 0 / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6709, allocations: 0 / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.671, allocations: 6.781 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.671, allocations: 1.594 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.671, allocations: 5.656 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.671, allocations: 0 / 0.9539 GB, free: 5.172 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.6711, allocations: 115.6 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.6711, allocations: 14.12 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.6712, allocations: 69.73 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6712, allocations: 3.984 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6712, allocations: 1.406 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6712, allocations: 0 / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.144e-05/0.6713, allocations: 179.2 kB / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6713, allocations: 0 / 0.9543 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.6714, allocations: 6.547 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6714, allocations: 5.438 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.6714, allocations: 0 / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6714, allocations: 0 / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6714, allocations: 1.375 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.952e-05/0.6715, allocations: 98.38 kB / 0.9544 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.6715, allocations: 90.47 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.6715, allocations: 0 / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.6715, allocations: 1.219 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.6716, allocations: 1.531 kB / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.6716, allocations: 0 / 0.9545 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.6716, allocations: 103.4 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6716, allocations: 0 / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002806/0.6719, allocations: 64.33 kB / 0.9546 GB, free: 4.48 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004039/0.6723, allocations: 174.9 kB / 0.9548 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.6725, allocations: 70.47 kB / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6725, allocations: 0 / 0.9549 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.6725, allocations: 21.08 kB / 0.9549 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.6728, allocations: 48.48 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.6731, allocations: 152.9 kB / 0.9551 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.6732, allocations: 0.6949 MB / 0.9558 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.6732, allocations: 7.531 kB / 0.9558 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.6733, allocations: 9.688 kB / 0.9558 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6733, allocations: 4 kB / 0.9558 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of Templates: time 0.004784/0.6781, allocations: 2.118 MB / 0.9578 GB, free: 2.406 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches