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.007945/0.007945, allocations: 101 kB / 15.73 MB, free: 6.477 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.001866/0.001866, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 68.16 kB / 0.9509 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3085, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002432/0.311, allocations: 1.262 MB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3125, allocations: 0.8518 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.3125, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.3127, allocations: 11.92 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.3127, allocations: 15.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.3133, allocations: 180.5 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.3134, allocations: 19.97 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3135, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.3135, allocations: 7.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.3135, allocations: 15.92 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.3136, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.3139, allocations: 243.7 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.314, allocations: 19.92 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.3141, allocations: 11.88 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.3144, allocations: 219.5 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3144, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3144, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3144, allocations: 0 / 1.091 GB, free: 14.61 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.0004097/0.3148, allocations: 383.2 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3149, allocations: 12.03 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.3149, allocations: 8.844 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.315, allocations: 168.4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3151, allocations: 384 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3151, allocations: 7.922 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3152, allocations: 49.62 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3152, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3152, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3152, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3153, allocations: 35.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3155, allocations: 181.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.3156, allocations: 66.42 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.3156, allocations: 20.92 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.3157, allocations: 11.92 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3157, allocations: 30.56 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3157, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.316, allocations: 81.67 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.316, allocations: 51.41 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3161, allocations: 137.7 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3161, allocations: 25.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.3162, allocations: 88.14 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.3162, allocations: 7.891 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3162, allocations: 21.72 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3164, allocations: 323 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3165, allocations: 47.91 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.3165, allocations: 39.98 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.3166, allocations: 96.81 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3166, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001323/0.3168, allocations: 125.6 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3168, allocations: 9.406 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3168, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3168, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.3169, allocations: 8 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3169, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.3169, allocations: 11.83 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.3169, allocations: 3.938 kB / 1.093 GB, free: 12.37 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 7.407e-05/0.317, allocations: 121.7 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.317, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.3171, allocations: 77.14 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3171, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3172, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3172, allocations: 4.031 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3173, allocations: 185.5 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3173, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/0.3173, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3173, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3173, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3173, allocations: 3.938 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3173, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.3174, allocations: 105 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.3175, allocations: 85.02 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.3175, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.3175, allocations: 4 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.3175, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.3175, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.009e-05/0.3176, allocations: 109.5 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3176, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002599/0.3179, allocations: 55.98 kB / 1.093 GB, free: 11.52 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.000344/0.3182, allocations: 171.2 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.3184, allocations: 75.89 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3184, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.3184, allocations: 16 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3187, allocations: 41.62 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.319, allocations: 161.3 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3192, allocations: 0.6924 MB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.3192, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.3193, allocations: 7.438 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3193, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.004911/0.3242, allocations: 2.109 MB / 1.097 GB, free: 8.254 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