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.001174/0.001174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.493/2.493, allocations: 390.2 MB / 0.6646 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6944/0.696, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002352/0.6983, allocations: 1.273 MB / 0.9508 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.6996, allocations: 0.8403 MB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.6997, allocations: 0 / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.6998, allocations: 20.61 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.651e-05/0.6999, allocations: 10.12 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.7004, allocations: 182.1 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.7004, allocations: 17.05 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.7005, allocations: 1.469 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.7005, allocations: 10.55 kB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.7006, allocations: 20.11 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.7006, allocations: 1.375 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.7009, allocations: 230.1 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.701, allocations: 15.86 kB / 0.9522 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.701, allocations: 21.08 kB / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.7013, allocations: 219 kB / 0.9524 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7013, allocations: 0 / 0.9524 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7013, allocations: 1.5 kB / 0.9524 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7013, allocations: 0 / 0.9524 GB, free: 7.156 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.0003048/0.7016, allocations: 373.3 kB / 0.9527 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7017, allocations: 14.75 kB / 0.9528 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.7017, allocations: 6.312 kB / 0.9528 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.523e-05/0.7018, allocations: 174.7 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.7018, allocations: 384 / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.7018, allocations: 9.578 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.7019, allocations: 50.94 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.702, allocations: 0 / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.702, allocations: 0 / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.702, allocations: 0 / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.702, allocations: 34.48 kB / 0.953 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.7022, allocations: 179.2 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.999e-05/0.7023, allocations: 51.48 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.7023, allocations: 28.91 kB / 0.9533 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.7023, allocations: 12.59 kB / 0.9533 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.7024, allocations: 31.88 kB / 0.9533 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7024, allocations: 4 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.7025, allocations: 83.86 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.7026, allocations: 52.69 kB / 0.9534 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.7027, allocations: 138 kB / 0.9536 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.7027, allocations: 26.86 kB / 0.9536 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.7027, allocations: 87.56 kB / 0.9537 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.7028, allocations: 8.781 kB / 0.9537 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.7028, allocations: 27.92 kB / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.7028, allocations: 321.2 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.7029, allocations: 41.94 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.703, allocations: 45.39 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.7031, allocations: 96.28 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7031, allocations: 1.094 kB / 0.9542 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.7033, allocations: 133.4 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7033, allocations: 6.781 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7033, allocations: 1.312 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7033, allocations: 0 / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.973e-05/0.7034, allocations: 6.938 kB / 0.9543 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7034, allocations: 4 kB / 0.9543 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.7034, allocations: 2.094 kB / 0.9543 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.7034, allocations: 0.9062 kB / 0.9543 GB, free: 5.332 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 7.29e-05/0.7035, allocations: 123 kB / 0.9545 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.7035, allocations: 10.03 kB / 0.9545 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.7036, allocations: 74.17 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.7036, allocations: 0 / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7036, allocations: 1.094 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7037, allocations: 4.031 kB / 0.9545 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.7037, allocations: 178.8 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7038, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.7038, allocations: 3.656 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.7038, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7038, allocations: 1.219 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7038, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7038, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.929e-05/0.7039, allocations: 106.4 kB / 0.9548 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.7039, allocations: 83.3 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.7039, allocations: 1.156 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.7039, allocations: 0 / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.704, allocations: 1.062 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.704, allocations: 1.156 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.704, allocations: 113.4 kB / 0.955 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.704, allocations: 0 / 0.955 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002883/0.7043, allocations: 56.72 kB / 0.9551 GB, free: 4.641 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.0003645/0.7047, allocations: 174.2 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.7049, allocations: 74.17 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7049, allocations: 0 / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.7049, allocations: 18.16 kB / 0.9553 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.7052, allocations: 39.22 kB / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.7054, allocations: 147.4 kB / 0.9555 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.7056, allocations: 0.695 MB / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.7056, allocations: 8.188 kB / 0.9562 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.7056, allocations: 13.92 kB / 0.9562 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7056, allocations: 0 / 0.9562 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.004501/0.7101, allocations: 2.123 MB / 0.9583 GB, free: 2.578 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