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.001055/0.001055, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009907/0.009907, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.358/2.358, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 16 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6269, allocations: 142.4 MB / 0.9551 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001116/0.628, allocations: 0.9978 MB / 0.956 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.6292, allocations: 0.8572 MB / 0.9569 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.6292, allocations: 4 kB / 0.9569 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.6294, allocations: 5.031 kB / 0.9569 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.534e-05/0.6294, allocations: 10.08 kB / 0.9569 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.6299, allocations: 138.9 kB / 0.957 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.676e-05/0.6299, allocations: 25.23 kB / 0.9571 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.63, allocations: 4 kB / 0.9571 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.63, allocations: 3.969 kB / 0.9571 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.63, allocations: 8.062 kB / 0.9571 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.63, allocations: 0 / 0.9571 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.6304, allocations: 236.4 kB / 0.9573 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.6304, allocations: 19.64 kB / 0.9573 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.6305, allocations: 42.77 kB / 0.9574 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.6307, allocations: 210.7 kB / 0.9576 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6308, allocations: 3.938 kB / 0.9576 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6308, allocations: 0 / 0.9576 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.6308, allocations: 1.281 kB / 0.9576 GB, free: 6.062 MB / 0.7169 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.0002832/0.6311, allocations: 375.8 kB / 0.9579 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6311, allocations: 9.625 kB / 0.9579 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.6312, allocations: 6.219 kB / 0.9579 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.658e-05/0.6313, allocations: 173.9 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6313, allocations: 1.75 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.6313, allocations: 9.484 kB / 0.9581 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.6314, allocations: 42.08 kB / 0.9581 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.6314, allocations: 0 / 0.9581 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.6314, allocations: 4 kB / 0.9582 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6314, allocations: 9.297 kB / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.6315, allocations: 41.91 kB / 0.9582 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.6316, allocations: 170.2 kB / 0.9584 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.348e-05/0.6317, allocations: 51.3 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.6317, allocations: 30.55 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.6318, allocations: 8.109 kB / 0.9585 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.6318, allocations: 34.56 kB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6318, allocations: 1.375 kB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.6319, allocations: 84.55 kB / 0.9586 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.632, allocations: 51.41 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.6321, allocations: 141 kB / 0.9587 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.6321, allocations: 26.92 kB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.6321, allocations: 94.23 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.6321, allocations: 9.312 kB / 0.9589 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.6322, allocations: 16.19 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.6322, allocations: 321.1 kB / 0.9592 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.6323, allocations: 38.2 kB / 0.9592 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.6323, allocations: 41.83 kB / 0.9593 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.6324, allocations: 96 kB / 0.9594 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6324, allocations: 5.062 kB / 0.9594 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001355/0.6326, allocations: 130.2 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6326, allocations: 4.781 kB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6326, allocations: 0 / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.6326, allocations: 5 kB / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.6327, allocations: 3.469 kB / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.6327, allocations: 0 / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.6327, allocations: 9 kB / 0.9595 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6327, allocations: 1.188 kB / 0.9595 GB, free: 4.242 MB / 0.7169 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 5.444e-05/0.6328, allocations: 115.7 kB / 0.9596 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.6328, allocations: 10.31 kB / 0.9596 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.6329, allocations: 80.73 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6329, allocations: 5.156 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6329, allocations: 0 / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6329, allocations: 1.125 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.611e-05/0.633, allocations: 178.2 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.633, allocations: 0 / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.633, allocations: 3.312 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.633, allocations: 0.9688 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.633, allocations: 0 / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6331, allocations: 1 kB / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.6331, allocations: 0 / 0.9599 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.6331, allocations: 102.8 kB / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.6332, allocations: 86.02 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.6332, allocations: 1.031 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.6332, allocations: 1 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.6332, allocations: 1.219 kB / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6332, allocations: 0 / 0.9601 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.6333, allocations: 107.3 kB / 0.9602 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6333, allocations: 5.406 kB / 0.9602 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.6335, allocations: 54.73 kB / 0.9602 GB, free: 3.551 MB / 0.7169 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.000308/0.6339, allocations: 174.4 kB / 0.9604 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.634, allocations: 66.72 kB / 0.9605 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.634, allocations: 4 kB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.634, allocations: 21.75 kB / 0.9605 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.6343, allocations: 32.39 kB / 0.9605 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.6345, allocations: 160.6 kB / 0.9607 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.6346, allocations: 0.6951 MB / 0.9614 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.6347, allocations: 7.703 kB / 0.9614 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.6347, allocations: 13.78 kB / 0.9614 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6347, allocations: 0 / 0.9614 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.004699/0.6394, allocations: 2.063 MB / 0.9634 GB, free: 1.508 MB / 0.7169 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