Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00107/0.00107, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001029/0.001029, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.027/1.027, allocations: 177.2 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.103/2.103, allocations: 429.5 MB / 0.6732 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.722e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002502/0.002529, allocations: 1.342 MB / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003996, allocations: 0.8621 MB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.004025, allocations: 11.09 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.004264, allocations: 7.984 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.106e-05/0.004295, allocations: 3.938 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.004937, allocations: 192 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.005013, allocations: 21.58 kB / 0.8806 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.005054, allocations: 3.984 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.005097, allocations: 8 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.00514, allocations: 11.92 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.005152, allocations: 0.5 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.005476, allocations: 252.9 kB / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.005529, allocations: 19.92 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.005553, allocations: 8 kB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.005842, allocations: 255.3 kB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005844, allocations: 4.812 kB / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005846, allocations: 0 / 0.8811 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.005851, allocations: 1.344 kB / 0.8811 GB, free: 3.277 MB / 0.8386 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.0003457/0.006196, allocations: 412.1 kB / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.006231, allocations: 8.031 kB / 0.8815 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.006267, allocations: 8.891 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.006352, allocations: 125 kB / 0.8817 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.006364, allocations: 4.312 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.006377, allocations: 8.359 kB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.922e-05/0.006456, allocations: 37.77 kB / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.006465, allocations: 0 / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.006473, allocations: 0 / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.00648, allocations: 4 kB / 0.8817 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.0065, allocations: 0 / 0.8817 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.006637, allocations: 132.7 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.006687, allocations: 38.98 kB / 0.8819 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.006707, allocations: 7.688 kB / 0.8819 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.006754, allocations: 4.062 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.006777, allocations: 41.39 kB / 0.8819 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.006778, allocations: 4 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.006924, allocations: 45.58 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.00696, allocations: 51.41 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.007082, allocations: 197.9 kB / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.007092, allocations: 25.7 kB / 0.8822 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.007147, allocations: 142.8 kB / 0.8824 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.007162, allocations: 0 / 0.8824 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.007514, allocations: 31.36 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.007649, allocations: 0.4884 MB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.007667, allocations: 4.125 kB / 0.8829 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.007682, allocations: 23.97 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.007726, allocations: 27.69 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007728, allocations: 0 / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.471e-05/0.007803, allocations: 61.64 kB / 0.883 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.007816, allocations: 11.94 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.007824, allocations: 4 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.00784, allocations: 0 / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.007902, allocations: 7.938 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.007909, allocations: 0 / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.007923, allocations: 7.891 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.007929, allocations: 4 kB / 0.883 GB, free: 1.137 MB / 0.8386 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 6.014e-05/0.007989, allocations: 156.6 kB / 0.8832 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.007997, allocations: 8 kB / 0.8832 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/0.008071, allocations: 49.2 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.008072, allocations: 0 / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.008076, allocations: 0 / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.008078, allocations: 3.938 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.68e-05/0.008145, allocations: 128.6 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.008146, allocations: 0 / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.008157, allocations: 11.98 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.008158, allocations: 4.031 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.008163, allocations: 0 / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.008165, allocations: 7.875 kB / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008165, allocations: 0 / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.963e-05/0.008215, allocations: 68.45 kB / 0.8834 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.008224, allocations: 11.94 kB / 0.8835 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.008234, allocations: 4 kB / 0.8835 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-06/0.00824, allocations: 3.938 kB / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.008254, allocations: 0 / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.008255, allocations: 0 / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.008297, allocations: 139.2 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008297, allocations: 8.031 kB / 0.8836 GB, free: 484 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001845/0.008481, allocations: 63.86 kB / 0.8837 GB, free: 420 kB / 0.8386 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.0002434/0.008725, allocations: 175.1 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.008817, allocations: 23.62 kB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.008819, allocations: 0 / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.008831, allocations: 23.67 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.009033, allocations: 28.22 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.009279, allocations: 142 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.51e-05/0.009314, allocations: 67.34 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.009335, allocations: 4 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.009353, allocations: 12.5 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of SimCode: time 1.021e-06/0.009354, allocations: 4.062 kB / 0.8841 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.003698/0.01305, allocations: 2.268 MB / 0.8863 GB, free: 13.69 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.563545886892825]