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.00159/0.00159, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001906/0.001906, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.141/2.141, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 67.56 kB / 0.8127 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2951, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002637/0.2978, allocations: 1.336 MB / 0.9511 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2993, allocations: 0.86 MB / 0.9519 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.2994, allocations: 3.938 kB / 0.9519 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.2996, allocations: 11.94 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.2996, allocations: 3.984 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.3004, allocations: 163.7 kB / 0.9521 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.3004, allocations: 15.98 kB / 0.9521 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.3005, allocations: 3.984 kB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.3005, allocations: 15.94 kB / 0.9522 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.3006, allocations: 11.92 kB / 0.9522 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.3006, allocations: 0 / 0.9522 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.301, allocations: 235.7 kB / 0.9524 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3011, allocations: 15.97 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.3011, allocations: 15.88 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.3014, allocations: 147.9 kB / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3015, allocations: 3.984 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3015, allocations: 0 / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3015, allocations: 0 / 0.9526 GB, free: 6.363 MB / 0.7325 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.0004243/0.3019, allocations: 383.3 kB / 0.9529 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.302, allocations: 11.97 kB / 0.9529 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.302, allocations: 8.922 kB / 0.9529 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3021, allocations: 168.3 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3022, allocations: 384 / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3022, allocations: 8.125 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3023, allocations: 45.69 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3023, allocations: 0 / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3023, allocations: 0 / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3023, allocations: 0 / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.3024, allocations: 39.92 kB / 0.9532 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.3026, allocations: 181.6 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.3027, allocations: 46.56 kB / 0.9534 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.3027, allocations: 28.84 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.3028, allocations: 7.938 kB / 0.9535 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3028, allocations: 34.56 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3028, allocations: 0 / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.303, allocations: 93.52 kB / 0.9536 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.303, allocations: 51.41 kB / 0.9536 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3032, allocations: 141.8 kB / 0.9538 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3032, allocations: 25.7 kB / 0.9538 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3032, allocations: 84.14 kB / 0.9539 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3033, allocations: 7.906 kB / 0.9539 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.3033, allocations: 25.83 kB / 0.9539 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3034, allocations: 314.8 kB / 0.9542 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.3035, allocations: 39.98 kB / 0.9542 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.3035, allocations: 47.97 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.3036, allocations: 92.81 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3036, allocations: 4 kB / 0.9544 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001513/0.3038, allocations: 129.4 kB / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3038, allocations: 4 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3038, allocations: 0 / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3039, allocations: 4 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.3039, allocations: 4 kB / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3039, allocations: 0 / 0.9545 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.304, allocations: 3.906 kB / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.304, allocations: 11.98 kB / 0.9545 GB, free: 4.133 MB / 0.7325 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 8.249e-05/0.3041, allocations: 117.8 kB / 0.9546 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.3041, allocations: 7.938 kB / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3042, allocations: 85.16 kB / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3042, allocations: 0 / 0.9547 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3042, allocations: 8.031 kB / 0.9547 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3042, allocations: 0 / 0.9547 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3044, allocations: 173.6 kB / 0.9549 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3044, allocations: 7.984 kB / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3044, allocations: 0 / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3044, allocations: 0 / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.3044, allocations: 4 kB / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3044, allocations: 0 / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3044, allocations: 0 / 0.9549 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.3046, allocations: 96.97 kB / 0.955 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.3046, allocations: 89 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3046, allocations: 0 / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.3047, allocations: 0 / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3047, allocations: 3.938 kB / 0.9551 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3047, allocations: 0 / 0.9551 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.3048, allocations: 114.1 kB / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3048, allocations: 0 / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000296/0.3051, allocations: 56 kB / 0.9553 GB, free: 3.281 MB / 0.7325 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.0004429/0.3055, allocations: 167.2 kB / 0.9554 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.3057, allocations: 71.97 kB / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3057, allocations: 0 / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.3057, allocations: 15.98 kB / 0.9555 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.306, allocations: 40.03 kB / 0.9555 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.3063, allocations: 187.2 kB / 0.9557 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3066, allocations: 0.6961 MB / 0.9564 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.3066, allocations: 7.438 kB / 0.9564 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of SimCode: time 2.013e-06/0.3066, allocations: 4 kB / 0.9564 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.003741/0.3104, allocations: 1.708 MB / 0.9581 GB, free: 352 kB / 0.7325 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/jenkins1/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