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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009736/0.0009734, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001039/0.001039, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 8.094 kB / 0.9022 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001254/0.2513, allocations: 0.9869 MB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2526, allocations: 0.807 MB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.2526, allocations: 0 / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2528, allocations: 7.984 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.248e-05/0.2528, allocations: 15.92 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.2534, allocations: 125.7 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.2535, allocations: 23.91 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.2535, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.2535, allocations: 11.88 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.2536, allocations: 11.98 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.2536, allocations: 4 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.254, allocations: 223.6 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.254, allocations: 7.984 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.2541, allocations: 37.64 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.2543, allocations: 152 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2543, allocations: 0 / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2543, allocations: 0 / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2544, allocations: 0 / 1.06 GB, free: 2.879 MB / 0.8106 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.0003474/0.2547, allocations: 359.3 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2547, allocations: 8.031 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.2548, allocations: 7.906 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2549, allocations: 179 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2549, allocations: 0 / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2549, allocations: 0 / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2551, allocations: 49.62 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2551, allocations: 0 / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2551, allocations: 4 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2551, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.2551, allocations: 27.98 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.2553, allocations: 185.5 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.2554, allocations: 58.52 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.2554, allocations: 24.91 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.2555, allocations: 4 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2555, allocations: 34.5 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2555, allocations: 3.938 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/0.2557, allocations: 85.77 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.2558, allocations: 51.41 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2559, allocations: 144.3 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.2559, allocations: 25.7 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.256, allocations: 96.11 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.256, allocations: 3.906 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.256, allocations: 4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.2561, allocations: 318.8 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.2561, allocations: 39.98 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.2562, allocations: 48.02 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.547e-05/0.2562, allocations: 47.91 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2563, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001447/0.2564, allocations: 125.6 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2564, allocations: 4 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2564, allocations: 4 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.2564, allocations: 96 / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.2565, allocations: 4 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2565, allocations: 0 / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.2565, allocations: 7.891 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2566, allocations: 8.078 kB / 1.062 GB, free: 0.7422 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.2566, allocations: 117.8 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.2567, allocations: 11.86 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.2568, allocations: 77.14 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2568, allocations: 0 / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2568, allocations: 0 / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2568, allocations: 0 / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2569, allocations: 165.7 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2569, allocations: 4.031 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.257, allocations: 7.984 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.257, allocations: 3.953 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.257, allocations: 4 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.257, allocations: 7.984 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.257, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.96e-05/0.2571, allocations: 85.06 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.2571, allocations: 88.94 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2572, allocations: 15.92 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.2572, allocations: 7.938 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.2572, allocations: 0 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.2572, allocations: 0 / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.2573, allocations: 103.2 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2573, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002787/0.2576, allocations: 60 kB / 1.063 GB, free: 15.89 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003334/0.2579, allocations: 175.2 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.258, allocations: 63.97 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2581, allocations: 4 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.2581, allocations: 19.92 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2584, allocations: 27.97 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.2586, allocations: 160.9 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2588, allocations: 0.6887 MB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.2589, allocations: 4 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.2589, allocations: 7.438 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.2589, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of Templates: time 0.00468/0.2636, allocations: 2.045 MB / 1.066 GB, free: 12.71 MB / 0.8262 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=480 -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