Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001755/0.001755, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.001883/0.001883, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.472/1.472, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 64.34 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3862, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002766/0.389, allocations: 1.284 MB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3906, allocations: 0.8437 MB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.3906, allocations: 0 / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3908, allocations: 15.94 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.314e-05/0.3908, allocations: 4 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.3914, allocations: 187.5 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.3915, allocations: 15.98 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.3915, allocations: 0 / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.3916, allocations: 11.97 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.3916, allocations: 15.94 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.3916, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.3921, allocations: 239.6 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.3921, allocations: 15.98 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.3922, allocations: 15.86 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3925, allocations: 219.7 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.3925, allocations: 4 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3925, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3925, allocations: 3.938 kB / 1.021 GB, free: 7.73 MB / 0.795 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.0004669/0.393, allocations: 383.2 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3931, allocations: 8.922 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3931, allocations: 4.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3933, allocations: 168.3 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3933, allocations: 4.359 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3933, allocations: 384 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.3934, allocations: 50 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3934, allocations: 3.938 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3934, allocations: 0 / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3935, allocations: 4 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.678e-05/0.3935, allocations: 31.98 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.3937, allocations: 177.6 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.3938, allocations: 54.55 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.3939, allocations: 24.86 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.3939, allocations: 7.984 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.394, allocations: 38.5 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 3.306e-06/0.394, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001887/0.3942, allocations: 89.52 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3942, allocations: 51.41 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3944, allocations: 139.8 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3944, allocations: 25.7 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.3945, allocations: 92.05 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.3945, allocations: 3.984 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.3945, allocations: 21.84 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3947, allocations: 322.8 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.3948, allocations: 39.98 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.3948, allocations: 43.98 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3949, allocations: 100.8 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3949, allocations: 0 / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.3951, allocations: 129.5 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3951, allocations: 11.94 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3951, allocations: 96 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3952, allocations: 3.984 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.3952, allocations: 8 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3952, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.3953, allocations: 7.906 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.3953, allocations: 3.984 kB / 1.023 GB, free: 5.496 MB / 0.795 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 9.864e-05/0.3954, allocations: 113.8 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.3954, allocations: 3.938 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.3955, allocations: 81.08 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3955, allocations: 4 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3956, allocations: 7.969 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3956, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3957, allocations: 173.7 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3957, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.3957, allocations: 4 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3957, allocations: 3.938 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3958, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3958, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3958, allocations: 3.938 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3959, allocations: 105 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.396, allocations: 84.95 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.396, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.396, allocations: 4 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.396, allocations: 0 / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.396, allocations: 0 / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.631e-05/0.3961, allocations: 107.2 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3961, allocations: 0 / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002837/0.3964, allocations: 63.98 kB / 1.023 GB, free: 4.648 MB / 0.795 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.0003728/0.3968, allocations: 163.2 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.3969, allocations: 71.97 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3969, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.397, allocations: 19.94 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3973, allocations: 38.53 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3976, allocations: 175.2 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.398, allocations: 0.6885 MB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.398, allocations: 11.44 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.398, allocations: 4 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of Templates: time 0.004052/0.4021, allocations: 1.7 MB / 1.026 GB, free: 1.734 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches