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.00139/0.00139, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.00147/0.00147, allocations: 188 kB / 17.2 MB, free: 5.938 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.466/1.466, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.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.187/2.187, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 65.09 kB / 0.8132 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2894, allocations: 140.4 MB / 0.9503 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002351/0.2918, allocations: 1.282 MB / 0.9515 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2931, allocations: 0.8482 MB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.2932, allocations: 8 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.2934, allocations: 15.86 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.2934, allocations: 0 / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.294, allocations: 187.5 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.362e-05/0.294, allocations: 15.97 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.2941, allocations: 4 kB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.2941, allocations: 11.98 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.2942, allocations: 7.938 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.2942, allocations: 0 / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.2946, allocations: 243.6 kB / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.2946, allocations: 15.98 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.2947, allocations: 15.88 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.295, allocations: 219.7 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.295, allocations: 0 / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.542e-06/0.295, allocations: 0 / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.295, allocations: 0 / 0.9531 GB, free: 5.938 MB / 0.7325 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.0003746/0.2954, allocations: 383.2 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2954, allocations: 8.031 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.2955, allocations: 4.938 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2956, allocations: 172.2 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2956, allocations: 384 / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.2956, allocations: 4.125 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2957, allocations: 53.62 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2957, allocations: 0 / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.2958, allocations: 8 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.2958, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.2958, allocations: 27.98 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.296, allocations: 177.6 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/0.2961, allocations: 54.55 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.2961, allocations: 24.86 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.2962, allocations: 7.984 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2962, allocations: 38.5 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.2962, allocations: 0 / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.2964, allocations: 85.58 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2964, allocations: 51.41 kB / 0.9541 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2965, allocations: 136.1 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.2965, allocations: 25.7 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.2966, allocations: 88.14 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.2966, allocations: 12.02 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.2967, allocations: 25.66 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.2968, allocations: 318.8 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.2968, allocations: 47.97 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.2969, allocations: 35.98 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.402e-05/0.297, allocations: 100.8 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.297, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001295/0.2971, allocations: 129.5 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.2971, allocations: 8 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2971, allocations: 4 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2972, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.2972, allocations: 4 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2972, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.2972, allocations: 3.906 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2972, allocations: 3.984 kB / 0.955 GB, free: 3.715 MB / 0.7325 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.46e-05/0.2973, allocations: 117.8 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.2973, allocations: 3.938 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.2975, allocations: 85.08 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2975, allocations: 4 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2975, allocations: 0 / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2975, allocations: 0 / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2976, allocations: 177.6 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2976, allocations: 0 / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.2976, allocations: 7.938 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.2976, allocations: 0 / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2976, allocations: 0 / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2977, allocations: 4 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2977, allocations: 0 / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.2978, allocations: 109 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2978, allocations: 85 kB / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2978, allocations: 0 / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.2978, allocations: 4 kB / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.2978, allocations: 0 / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.2979, allocations: 0 / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.872e-05/0.2979, allocations: 107.2 kB / 0.9557 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2979, allocations: 4.031 kB / 0.9557 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000276/0.2982, allocations: 59.98 kB / 0.9558 GB, free: 2.855 MB / 0.7325 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.000392/0.2986, allocations: 167.1 kB / 0.9559 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2987, allocations: 71.95 kB / 0.956 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2988, allocations: 0 / 0.956 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.2988, allocations: 23.94 kB / 0.956 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2991, allocations: 35.97 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.2994, allocations: 179.3 kB / 0.9562 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2996, allocations: 0.6962 MB / 0.9569 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.2997, allocations: 11.44 kB / 0.9569 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2997, allocations: 0 / 0.9569 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of Templates: time 0.003466/0.3031, allocations: 1.702 MB / 0.9586 GB, free: 15.93 MB / 0.7481 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/jenkins1/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