Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0074/0.0074, allocations: 95.45 kB / 15.73 MB, free: 6.039 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.001708/0.001708, allocations: 204.1 kB / 16.68 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.88 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2863, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002115/0.2884, allocations: 1.28 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2897, allocations: 0.8453 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.2898, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2899, allocations: 23.91 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.586e-05/0.2899, allocations: 7.938 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.2905, allocations: 187.3 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.2905, allocations: 15.98 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.2906, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.2906, allocations: 7.938 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.2906, allocations: 19.92 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.2906, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.291, allocations: 243.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.2911, allocations: 11.98 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.2911, allocations: 15.88 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.2914, allocations: 223.3 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2914, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2914, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2914, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 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.0003454/0.2917, allocations: 383 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.2918, allocations: 8.031 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.2918, allocations: 8.891 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2919, allocations: 174.2 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2919, allocations: 384 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.2919, allocations: 4.312 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.292, allocations: 53.94 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.292, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.292, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.292, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.2921, allocations: 31.98 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.2922, allocations: 181.6 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.2923, allocations: 50.55 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.2923, allocations: 24.86 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.2924, allocations: 7.984 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2924, allocations: 34.5 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2924, allocations: 4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.2926, allocations: 89.62 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2926, allocations: 51.41 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2927, allocations: 133.8 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2927, allocations: 25.7 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2927, allocations: 92.12 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2928, allocations: 11.94 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.2928, allocations: 17.84 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.2929, allocations: 322.8 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.2929, allocations: 47.92 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.293, allocations: 39.97 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.2931, allocations: 96.81 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2931, allocations: 0 / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001276/0.2932, allocations: 129.7 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2932, allocations: 11.94 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2932, allocations: 0 / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2932, allocations: 0 / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.2933, allocations: 8 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2933, allocations: 0 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.2933, allocations: 3.938 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2933, allocations: 7.922 kB / 1.225 GB, free: 8.66 MB / 0.9825 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.901e-05/0.2934, allocations: 118.4 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.2934, allocations: 7.891 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2935, allocations: 69.2 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2935, allocations: 4 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2935, allocations: 4.031 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2935, allocations: 0 / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.2936, allocations: 177.6 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2936, allocations: 4 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.2936, allocations: 4 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2936, allocations: 3.938 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2936, allocations: 7.875 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2936, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2936, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.2937, allocations: 105 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2937, allocations: 85 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2938, allocations: 0 / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.2938, allocations: 0 / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.2938, allocations: 4 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2938, allocations: 0 / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.2938, allocations: 109.8 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2938, allocations: 0 / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002603/0.2941, allocations: 63.86 kB / 1.226 GB, free: 7.805 MB / 0.9825 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.0003187/0.2944, allocations: 171.1 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.2945, allocations: 67.91 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2945, allocations: 0 / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.2946, allocations: 20 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.2948, allocations: 29.16 kB / 1.226 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.2951, allocations: 167.1 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2953, allocations: 0.6846 MB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.2953, allocations: 4 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.2953, allocations: 11.44 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.2953, allocations: 0 / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.004354/0.2997, allocations: 2.132 MB / 1.229 GB, free: 4.531 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches