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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005595/0.005595, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001353/0.001353, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 157.4 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002259/0.2972, allocations: 1.28 MB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2986, allocations: 0.8495 MB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.2986, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2988, allocations: 15.98 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.632e-05/0.2989, allocations: 3.938 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.2995, allocations: 189.6 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.2995, allocations: 15.92 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.886e-05/0.2996, allocations: 0 / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.41e-05/0.2996, allocations: 11.98 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.2997, allocations: 15.92 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.2997, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.3001, allocations: 243.6 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.3001, allocations: 15.97 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.3001, allocations: 19.88 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.3005, allocations: 211.5 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3005, allocations: 0 / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3005, allocations: 0 / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3005, allocations: 0 / 1.211 GB, free: 6.723 MB / 0.9669 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.0003732/0.3009, allocations: 387.2 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3009, allocations: 8.625 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.301, allocations: 16.78 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3011, allocations: 172.3 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3011, allocations: 384 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.3011, allocations: 384 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.3012, allocations: 50 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.3012, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.3012, allocations: 4 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3012, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.3013, allocations: 31.97 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3015, allocations: 189.6 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.163e-05/0.3015, allocations: 54.48 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.3016, allocations: 16.92 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3016, allocations: 8 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3016, allocations: 38.48 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3016, allocations: 7.938 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001506/0.3018, allocations: 85.53 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.3018, allocations: 55.39 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3019, allocations: 136.4 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.302, allocations: 29.7 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.302, allocations: 84.14 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.302, allocations: 11.89 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.3021, allocations: 17.84 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.3022, allocations: 322.8 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.3022, allocations: 39.98 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.3022, allocations: 39.98 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.305e-05/0.3023, allocations: 96.81 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3024, allocations: 0 / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001361/0.3025, allocations: 137.5 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3025, allocations: 7.938 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3025, allocations: 0 / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.3025, allocations: 0 / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.3026, allocations: 8 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3026, allocations: 0 / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.3026, allocations: 0 / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3026, allocations: 7.984 kB / 1.213 GB, free: 4.48 MB / 0.9669 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.717e-05/0.3027, allocations: 113.8 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.3027, allocations: 11.84 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3028, allocations: 77.14 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3028, allocations: 0 / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3029, allocations: 7.969 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3029, allocations: 0 / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.303, allocations: 173.7 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.303, allocations: 3.938 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.303, allocations: 4 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.303, allocations: 3.938 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.303, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.303, allocations: 4 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.303, allocations: 0 / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.3031, allocations: 93.02 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.3032, allocations: 85.05 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3032, allocations: 7.938 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.3032, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.3032, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3032, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.806e-05/0.3033, allocations: 103.2 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.332e-06/0.3033, allocations: 0 / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002725/0.3036, allocations: 67.92 kB / 1.213 GB, free: 3.633 MB / 0.9669 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.0003344/0.3039, allocations: 175.3 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.304, allocations: 67.97 kB / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3041, allocations: 0 / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.3041, allocations: 12 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3043, allocations: 36.09 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.3046, allocations: 165.3 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3049, allocations: 0.6923 MB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.3049, allocations: 8.172 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.3049, allocations: 7.438 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3049, allocations: 0 / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of Templates: time 0.00465/0.3096, allocations: 2.134 MB / 1.216 GB, free: 360 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches