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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00865/0.00865, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001941/0.001941, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.75 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2932, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002097/0.2953, allocations: 1.269 MB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2967, allocations: 0.8518 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.2967, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2969, allocations: 15.92 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.213e-05/0.2969, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.2975, allocations: 187.5 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.261e-05/0.2976, allocations: 11.94 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.2976, allocations: 11.98 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.2976, allocations: 7.984 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.2977, allocations: 11.88 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2977, allocations: 4 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.2981, allocations: 243.6 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.2982, allocations: 19.97 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.2982, allocations: 11.88 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2985, allocations: 219.3 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2985, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2985, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2986, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 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.000436/0.299, allocations: 383 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.299, allocations: 12.03 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.2991, allocations: 4.891 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2992, allocations: 176.3 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2992, allocations: 384 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2992, allocations: 7.938 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.768e-05/0.2993, allocations: 45.69 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2994, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2994, allocations: 3.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2994, allocations: 7.984 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.2994, allocations: 31.98 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.2996, allocations: 173.7 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.2997, allocations: 58.44 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.2997, allocations: 28.91 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.2998, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2998, allocations: 38.56 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2998, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.3, allocations: 89.56 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.3, allocations: 51.41 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3001, allocations: 141.8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3001, allocations: 25.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.3002, allocations: 88.14 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.3002, allocations: 3.953 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3002, allocations: 25.83 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.3003, allocations: 314.8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.3004, allocations: 43.97 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.3004, allocations: 43.98 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.3005, allocations: 100.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3006, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001377/0.3007, allocations: 129.5 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3007, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3007, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3007, allocations: 8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.3008, allocations: 7.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3008, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.3008, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3008, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 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.745e-05/0.3009, allocations: 117.8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.3009, allocations: 7.953 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3011, allocations: 77.14 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3011, allocations: 8.031 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3011, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3011, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.3012, allocations: 181.6 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3012, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.3012, allocations: 4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3012, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3012, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3013, allocations: 3.938 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3013, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.365e-05/0.3014, allocations: 104.9 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.3014, allocations: 85.06 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.3014, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.3014, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.3015, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3015, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.3015, allocations: 109.4 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3015, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002808/0.3018, allocations: 59.91 kB / 1.093 GB, free: 11.5 MB / 0.8575 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.0003547/0.3022, allocations: 167.1 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.3023, allocations: 67.97 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3023, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.47e-05/0.3024, allocations: 27.92 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3026, allocations: 36.86 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.3029, allocations: 149.3 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3031, allocations: 0.6924 MB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.3032, allocations: 8.25 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.3032, allocations: 7.438 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3032, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.004555/0.3078, allocations: 2.115 MB / 1.097 GB, free: 8.238 MB / 0.8575 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