Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002677/0.002677, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|r_P",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.881e-05/4.13e-05, allocations: 4.953 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002841/0.002882, allocations: 1.299 MB / 0.9827 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.004666, allocations: 0.8296 MB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.004694, allocations: 0 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.004925, allocations: 19.8 kB / 0.9836 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.004956, allocations: 4 kB / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.005716, allocations: 193.3 kB / 0.9838 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.005797, allocations: 19.94 kB / 0.9838 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.005843, allocations: 3.984 kB / 0.9838 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.005887, allocations: 11.92 kB / 0.9838 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.005943, allocations: 7.984 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.005955, allocations: 0 / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.006465, allocations: 255.6 kB / 0.984 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.006525, allocations: 23.86 kB / 0.9841 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.006553, allocations: 8 kB / 0.9841 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.007025, allocations: 263.3 kB / 0.9843 GB, free: 9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007029, allocations: 0 / 0.9843 GB, free: 9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.00703, allocations: 0 / 0.9843 GB, free: 9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.007036, allocations: 0 / 0.9843 GB, free: 9 MB / 0.9356 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.000471/0.007507, allocations: 313.7 kB / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.007546, allocations: 8.031 kB / 0.9846 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.007588, allocations: 12.88 kB / 0.9846 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.007729, allocations: 109.8 kB / 0.9847 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.007737, allocations: 4.375 kB / 0.9847 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.007751, allocations: 4.359 kB / 0.9848 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.007875, allocations: 50.25 kB / 0.9848 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.007883, allocations: 192 / 0.9848 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.007891, allocations: 384 / 0.9848 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.007897, allocations: 3.938 kB / 0.9848 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.174e-05/0.007958, allocations: 35.92 kB / 0.9848 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.008165, allocations: 133.3 kB / 0.985 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.008246, allocations: 46.56 kB / 0.985 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.008288, allocations: 28.91 kB / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.008326, allocations: 4 kB / 0.985 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.00836, allocations: 38.56 kB / 0.9851 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.008361, allocations: 0 / 0.9851 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002264/0.008587, allocations: 89.56 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.008634, allocations: 55.34 kB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.008781, allocations: 140.5 kB / 0.9854 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.008802, allocations: 25.7 kB / 0.9854 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.008862, allocations: 88.12 kB / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.008881, allocations: 7.953 kB / 0.9855 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.008919, allocations: 21.84 kB / 0.9855 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.009088, allocations: 318.8 kB / 0.9858 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.009157, allocations: 39.98 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.009215, allocations: 51.97 kB / 0.9859 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.009335, allocations: 92.83 kB / 0.986 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009337, allocations: 0 / 0.986 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.009509, allocations: 137.5 kB / 0.9861 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.009523, allocations: 4 kB / 0.9861 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.00953, allocations: 3.984 kB / 0.9861 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.009552, allocations: 7.938 kB / 0.9861 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.009609, allocations: 0 / 0.9861 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.009617, allocations: 7.938 kB / 0.9861 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.009634, allocations: 4 kB / 0.9861 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.009642, allocations: 7.938 kB / 0.9861 GB, free: 6.973 MB / 0.9356 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 0.0001065/0.009748, allocations: 121.8 kB / 0.9862 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.009758, allocations: 3.953 kB / 0.9863 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.009885, allocations: 77.25 kB / 0.9863 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.009887, allocations: 0 / 0.9863 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.009897, allocations: 7.922 kB / 0.9863 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.0099, allocations: 0 / 0.9863 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.01002, allocations: 121.3 kB / 0.9864 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01002, allocations: 8.031 kB / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.01004, allocations: 0 / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.01004, allocations: 0 / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.01005, allocations: 4 kB / 0.9865 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01005, allocations: 0 / 0.9865 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01005, allocations: 0 / 0.9865 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.01017, allocations: 97 kB / 0.9866 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.01018, allocations: 3.953 kB / 0.9866 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01019, allocations: 4 kB / 0.9866 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.01021, allocations: 4 kB / 0.9866 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.01022, allocations: 4.031 kB / 0.9866 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.01023, allocations: 7.922 kB / 0.9866 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.01032, allocations: 103.2 kB / 0.9867 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01032, allocations: 0 / 0.9867 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002988/0.01062, allocations: 63.86 kB / 0.9867 GB, free: 6.293 MB / 0.9356 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.0004457/0.01106, allocations: 177.4 kB / 0.9869 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.01122, allocations: 71.95 kB / 0.987 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01122, allocations: 4 kB / 0.987 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.01124, allocations: 15.98 kB / 0.987 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01158, allocations: 35.98 kB / 0.987 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.01193, allocations: 164.7 kB / 0.9872 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.01202, allocations: 71.33 kB / 0.9873 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.01205, allocations: 12 kB / 0.9873 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.01207, allocations: 8.5 kB / 0.9873 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.01207, allocations: 0 / 0.9873 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of Templates: time 0.005961/0.01803, allocations: 2.235 MB / 0.9895 GB, free: 3.551 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.61035380885005]