Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001022/0.001022, allocations: 92.47 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 177.8 kB / 16.92 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004025, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8521, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001581/0.8538, allocations: 0.9964 MB / 1.025 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.8553, allocations: 0.866 MB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.8554, allocations: 0 / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.8556, allocations: 11.92 kB / 1.026 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.8556, allocations: 4 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.8562, allocations: 143.6 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.8563, allocations: 15.92 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.8563, allocations: 4 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.8564, allocations: 11.94 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.8564, allocations: 15.91 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.8565, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.8569, allocations: 227.7 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.857, allocations: 11.98 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.857, allocations: 41.58 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.8573, allocations: 153.7 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8573, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8573, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8573, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 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.0003993/0.8577, allocations: 383.2 kB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8578, allocations: 8.031 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.8578, allocations: 8.844 kB / 1.027 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.8579, allocations: 176.2 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.858, allocations: 384 / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.858, allocations: 384 / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.8581, allocations: 50 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8581, allocations: 4 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.8581, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8581, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.581e-05/0.8582, allocations: 31.92 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.8584, allocations: 177.7 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.8585, allocations: 54.55 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.8585, allocations: 20.92 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.8586, allocations: 7.984 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.8586, allocations: 38.5 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8586, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/0.8588, allocations: 85.52 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.8588, allocations: 55.41 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.859, allocations: 136.5 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.859, allocations: 33.7 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.859, allocations: 88.14 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.8591, allocations: 7.891 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.8591, allocations: 13.72 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8592, allocations: 318.8 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.8593, allocations: 43.97 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.8593, allocations: 39.98 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.8594, allocations: 100.8 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8595, allocations: 7.938 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001449/0.8596, allocations: 129.6 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.8596, allocations: 7.938 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.8596, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8597, allocations: 7.969 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.8597, allocations: 7.984 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.8597, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.8598, allocations: 7.938 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.8598, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 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.468e-05/0.8599, allocations: 122.4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.8599, allocations: 11.84 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.86, allocations: 77.14 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.86, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.86, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.86, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.8602, allocations: 169.7 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8602, allocations: 8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.8602, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8602, allocations: 3.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.8602, allocations: 8.031 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8602, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8602, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.8603, allocations: 96.95 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.8604, allocations: 85.05 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.8604, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.8604, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.8604, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.8604, allocations: 4.031 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.8605, allocations: 107.2 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8605, allocations: 4 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002948/0.8608, allocations: 59.98 kB / 1.029 GB, free: 10.3 MB / 0.7794 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.0003854/0.8612, allocations: 159.2 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.8614, allocations: 71.97 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8614, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.8614, allocations: 19.94 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.8617, allocations: 35.84 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.862, allocations: 202.3 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.8622, allocations: 0.6887 MB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.8623, allocations: 7.438 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8623, allocations: 0 / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of Templates: time 0.003603/0.8659, allocations: 1.684 MB / 1.032 GB, free: 7.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches