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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001534/0.001534, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001547/0.001547, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 482.3 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 75.02 kB / 0.9233 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2864, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002382/0.2888, allocations: 1.333 MB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2902, allocations: 0.8533 MB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.2902, allocations: 0 / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2904, allocations: 11.92 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.2904, allocations: 4 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.291, allocations: 174.8 kB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.2911, allocations: 15.94 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.2911, allocations: 7.984 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.2911, allocations: 4 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.2912, allocations: 15.86 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.2912, allocations: 0 / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.2916, allocations: 239.7 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.2916, allocations: 15.98 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.2917, allocations: 19.81 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.292, allocations: 215.8 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.292, allocations: 0 / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.106e-06/0.292, allocations: 4 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.292, allocations: 0 / 1.085 GB, free: 10.69 MB / 0.8419 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.0004353/0.2925, allocations: 379.2 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2925, allocations: 12.03 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.2926, allocations: 4.844 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.2927, allocations: 176.2 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2927, allocations: 4.375 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2928, allocations: 4.375 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2929, allocations: 50 kB / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2929, allocations: 0 / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.2929, allocations: 0 / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2929, allocations: 0 / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.2929, allocations: 31.98 kB / 1.085 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.2931, allocations: 177.6 kB / 1.085 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.354e-05/0.2932, allocations: 58.44 kB / 1.085 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.2933, allocations: 24.91 kB / 1.085 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2933, allocations: 4 kB / 1.085 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2933, allocations: 38.5 kB / 1.086 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2933, allocations: 0 / 1.086 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.2935, allocations: 85.58 kB / 1.086 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.2936, allocations: 51.53 kB / 1.086 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2937, allocations: 140.2 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2937, allocations: 29.69 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.2938, allocations: 96.06 kB / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2938, allocations: 3.906 kB / 1.086 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2938, allocations: 17.72 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.294, allocations: 318.8 kB / 1.086 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.294, allocations: 39.98 kB / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.2941, allocations: 47.97 kB / 1.086 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.2942, allocations: 104.9 kB / 1.086 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2942, allocations: 0 / 1.086 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001473/0.2944, allocations: 125.6 kB / 1.087 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.2944, allocations: 9.344 kB / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2944, allocations: 0 / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2945, allocations: 7.984 kB / 1.087 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.2945, allocations: 7.875 kB / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2945, allocations: 0 / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.2946, allocations: 12 kB / 1.087 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.2946, allocations: 0 / 1.087 GB, free: 8.453 MB / 0.8419 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.112e-05/0.2946, allocations: 117.8 kB / 1.087 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.2947, allocations: 11.84 kB / 1.087 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2948, allocations: 77.14 kB / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2948, allocations: 0 / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2948, allocations: 0 / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2948, allocations: 0 / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.295, allocations: 177.7 kB / 1.087 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.295, allocations: 0 / 1.087 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.295, allocations: 3.984 kB / 1.087 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.295, allocations: 11.97 kB / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.295, allocations: 3.938 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.295, allocations: 3.938 kB / 1.087 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.295, allocations: 0 / 1.087 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.75e-05/0.2951, allocations: 89.03 kB / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.2952, allocations: 89.03 kB / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2952, allocations: 0 / 1.087 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.2952, allocations: 4.031 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-06/0.2952, allocations: 0 / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.2952, allocations: 4 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.807e-05/0.2953, allocations: 110.2 kB / 1.087 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2953, allocations: 0 / 1.087 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002527/0.2956, allocations: 56 kB / 1.087 GB, free: 7.609 MB / 0.8419 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.000326/0.2959, allocations: 163.2 kB / 1.087 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.296, allocations: 71.91 kB / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.296, allocations: 0 / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.2961, allocations: 23.98 kB / 1.088 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.2963, allocations: 23.91 kB / 1.088 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.2966, allocations: 177.4 kB / 1.088 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.2969, allocations: 0.6885 MB / 1.088 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.2969, allocations: 4 kB / 1.088 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.297, allocations: 11.44 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.297, allocations: 0 / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.004976/0.302, allocations: 2.123 MB / 1.09 GB, free: 4.332 MB / 0.8419 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=400 -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