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.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001821/0.001821, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.322/2.322, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6824, allocations: 140.3 MB / 0.9489 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002178/0.6847, allocations: 1.336 MB / 0.9502 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.6859, allocations: 0.8752 MB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.6859, allocations: 1.375 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.6861, allocations: 16.05 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.501e-05/0.6861, allocations: 2.75 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.6866, allocations: 142.6 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.6866, allocations: 12.38 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.6867, allocations: 1.375 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.6867, allocations: 11.55 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.6868, allocations: 12.16 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.6868, allocations: 0 / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.6872, allocations: 232 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.6872, allocations: 12.27 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.6873, allocations: 16.28 kB / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.6876, allocations: 214.6 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6876, allocations: 4.969 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6876, allocations: 0 / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.6876, allocations: 3.938 kB / 0.9518 GB, free: 7.203 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.0003078/0.6879, allocations: 382.6 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.688, allocations: 9.406 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.688, allocations: 7.562 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/0.6881, allocations: 175.5 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.6881, allocations: 1.312 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.6881, allocations: 5.094 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.6882, allocations: 54.41 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6882, allocations: 0 / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.6882, allocations: 1.438 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6882, allocations: 0 / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.6883, allocations: 34.61 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.6884, allocations: 174.1 kB / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.6885, allocations: 46.69 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.6885, allocations: 34 kB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.6886, allocations: 8.906 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.6886, allocations: 34.5 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6886, allocations: 0 / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.6888, allocations: 85.89 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.6888, allocations: 51.41 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.6889, allocations: 141 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.6889, allocations: 29.83 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.689, allocations: 86.64 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.689, allocations: 9.078 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.689, allocations: 23.67 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.6891, allocations: 316.4 kB / 0.9534 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.6891, allocations: 43.03 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.6892, allocations: 48.69 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.6893, allocations: 97.12 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6893, allocations: 4 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001317/0.6894, allocations: 129.7 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6894, allocations: 5.031 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6894, allocations: 5.5 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6895, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.6895, allocations: 2.875 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6895, allocations: 0 / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.6896, allocations: 5.406 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.6896, allocations: 1.219 kB / 0.9537 GB, free: 5.379 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 5.224e-05/0.6896, allocations: 123.3 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.6896, allocations: 10.19 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.6897, allocations: 78.39 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6898, allocations: 0 / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.6898, allocations: 3.938 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6898, allocations: 1.719 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.412e-05/0.6898, allocations: 178.4 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6899, allocations: 0 / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.6899, allocations: 2.625 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.6899, allocations: 0 / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.6899, allocations: 5.062 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6899, allocations: 1.062 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6899, allocations: 0 / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.241e-05/0.69, allocations: 110 kB / 0.9542 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.69, allocations: 82.73 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.69, allocations: 1.438 kB / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.69, allocations: 0 / 0.9543 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.6901, allocations: 5.438 kB / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.6901, allocations: 0 / 0.9543 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.6901, allocations: 109.2 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6901, allocations: 1.125 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002864/0.6904, allocations: 55.83 kB / 0.9545 GB, free: 4.676 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.0003693/0.6908, allocations: 170.7 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.6909, allocations: 78.11 kB / 0.9547 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6909, allocations: 0 / 0.9547 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.691, allocations: 18 kB / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.6912, allocations: 25.69 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.6915, allocations: 163 kB / 0.9549 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.6916, allocations: 0.6908 MB / 0.9556 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.6916, allocations: 12.08 kB / 0.9556 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.6917, allocations: 14.3 kB / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6917, allocations: 0 / 0.9556 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of Templates: time 0.004396/0.6961, allocations: 2.079 MB / 0.9576 GB, free: 2.633 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