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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001091/0.001091, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001491/0.001491, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6953, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001399/0.6968, allocations: 0.9915 MB / 0.9554 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.6981, allocations: 0.7983 MB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.6982, allocations: 0 / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.6983, allocations: 7.812 kB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.6984, allocations: 10.64 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.699, allocations: 138.4 kB / 0.9564 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.6991, allocations: 10.73 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.6992, allocations: 1.469 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.6992, allocations: 8.344 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.6993, allocations: 16.47 kB / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.6993, allocations: 0 / 0.9564 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.6997, allocations: 215.3 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.6998, allocations: 15.2 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.6998, allocations: 40.67 kB / 0.9566 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.7001, allocations: 143.7 kB / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7001, allocations: 1.344 kB / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7001, allocations: 0 / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7002, allocations: 0 / 0.9568 GB, free: 5.996 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.000373/0.7005, allocations: 379.8 kB / 0.9571 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7006, allocations: 6.469 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.7006, allocations: 10.05 kB / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7007, allocations: 179.2 kB / 0.9573 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.7008, allocations: 5.188 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.7008, allocations: 9.125 kB / 0.9573 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.7009, allocations: 41.77 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7009, allocations: 3.984 kB / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.7009, allocations: 1 kB / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7009, allocations: 0 / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.701, allocations: 34.97 kB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.7011, allocations: 174.3 kB / 0.9576 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.7012, allocations: 55.12 kB / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.7013, allocations: 17.17 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.7013, allocations: 8.703 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.7013, allocations: 35.84 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.7013, allocations: 0 / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.7015, allocations: 83.61 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.7015, allocations: 53.34 kB / 0.9578 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.7016, allocations: 137.9 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.7017, allocations: 25.7 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.7017, allocations: 94.19 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.7017, allocations: 5.188 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.7017, allocations: 1.156 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.7018, allocations: 316.3 kB / 0.9584 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.7018, allocations: 45.91 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.7019, allocations: 46.23 kB / 0.9585 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.7019, allocations: 47.27 kB / 0.9585 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7019, allocations: 0 / 0.9585 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.7021, allocations: 133.4 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7021, allocations: 9.391 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7021, allocations: 0 / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7021, allocations: 1.812 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.7022, allocations: 1.781 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7022, allocations: 5.938 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.7023, allocations: 7.844 kB / 0.9587 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.7023, allocations: 2.125 kB / 0.9587 GB, free: 4.211 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.7023, allocations: 135.3 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-06/0.7023, allocations: 1.438 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.7025, allocations: 78.06 kB / 0.9589 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.7025, allocations: 3.984 kB / 0.9589 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7025, allocations: 3.938 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7025, allocations: 1.375 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.7026, allocations: 174.1 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.7026, allocations: 0 / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.7026, allocations: 2.75 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7026, allocations: 9.391 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7026, allocations: 0 / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7026, allocations: 1.375 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7026, allocations: 0 / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.7027, allocations: 97.8 kB / 0.9592 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.7028, allocations: 82.39 kB / 0.9592 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.7028, allocations: 5.359 kB / 0.9592 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.7028, allocations: 4.031 kB / 0.9593 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.7028, allocations: 1.375 kB / 0.9593 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.7028, allocations: 1.375 kB / 0.9593 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.7029, allocations: 103.9 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7029, allocations: 0 / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003226/0.7032, allocations: 56.11 kB / 0.9594 GB, free: 3.512 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 (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.0003609/0.7036, allocations: 170.5 kB / 0.9596 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.7037, allocations: 66.81 kB / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7037, allocations: 0 / 0.9596 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.7038, allocations: 21.67 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.704, allocations: 31.19 kB / 0.9597 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.7043, allocations: 167.2 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.7044, allocations: 0.6909 MB / 0.9605 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.7045, allocations: 4.5 kB / 0.9605 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.7045, allocations: 8.844 kB / 0.9605 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.7045, allocations: 0 / 0.9605 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of Templates: time 0.005072/0.7096, allocations: 2.033 MB / 0.9625 GB, free: 1.492 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