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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001114/0.001114, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001077/0.001077, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 64.09 kB / 0.8707 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2779, allocations: 151.6 MB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.00235/0.2803, allocations: 1.274 MB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2816, allocations: 0.8515 MB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.2817, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2818, allocations: 11.98 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.632e-05/0.2819, allocations: 3.938 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.2824, allocations: 193.4 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.2825, allocations: 19.92 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.2826, allocations: 3.984 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.2826, allocations: 7.938 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.2826, allocations: 4 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.2827, allocations: 0 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.283, allocations: 251.6 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.2831, allocations: 15.94 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.2831, allocations: 11.88 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.2834, allocations: 223.5 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2834, allocations: 0 / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2834, allocations: 0 / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2834, allocations: 0 / 1.022 GB, free: 6.91 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.0003646/0.2838, allocations: 379.2 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2839, allocations: 12.86 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.2839, allocations: 4.938 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.284, allocations: 176.2 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.284, allocations: 384 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.284, allocations: 384 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.2841, allocations: 58 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2842, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2842, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2842, allocations: 3.984 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.2842, allocations: 31.98 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.2844, allocations: 181.6 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.2845, allocations: 50.5 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.2845, allocations: 28.91 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.2846, allocations: 4 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2846, allocations: 34.5 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2846, allocations: 0 / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.2848, allocations: 85.58 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2848, allocations: 51.41 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2849, allocations: 144.3 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.2849, allocations: 33.83 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.285, allocations: 88.05 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.285, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.285, allocations: 25.7 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.2851, allocations: 310.8 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.2852, allocations: 47.97 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.2852, allocations: 39.98 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.2853, allocations: 100.8 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2853, allocations: 4 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001339/0.2855, allocations: 125.6 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2855, allocations: 7.938 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.2855, allocations: 0 / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2855, allocations: 3.938 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.2856, allocations: 4 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2856, allocations: 0 / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.2856, allocations: 7.906 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2856, allocations: 4 kB / 1.024 GB, free: 4.684 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 7.341e-05/0.2857, allocations: 122.4 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.2857, allocations: 11.88 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2858, allocations: 81.14 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2858, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2858, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2859, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.286, allocations: 173.7 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.286, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.286, allocations: 7.938 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.286, allocations: 3.938 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.286, allocations: 4.031 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.286, allocations: 4 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.286, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2861, allocations: 93.02 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2862, allocations: 84.95 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2862, allocations: 4 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.2862, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.2862, allocations: 4.031 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.2862, allocations: 0 / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.2863, allocations: 107.2 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2863, allocations: 0 / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002811/0.2866, allocations: 52 kB / 1.024 GB, free: 3.84 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.0003394/0.2869, allocations: 171.2 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.2871, allocations: 75.91 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2871, allocations: 0 / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.2871, allocations: 16 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2874, allocations: 28.03 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.2877, allocations: 154.8 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2879, allocations: 0.6924 MB / 1.025 GB, free: 2.648 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.2879, allocations: 16.09 kB / 1.025 GB, free: 2.633 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.2879, allocations: 15.44 kB / 1.025 GB, free: 2.617 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2879, allocations: 3.938 kB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of Templates: time 0.00466/0.2926, allocations: 2.117 MB / 1.027 GB, free: 0.5625 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=480 -s gbode -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