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.001116/0.001116, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001046/0.001047, allocations: 192 kB / 17.31 MB, free: 5.18 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 60.56 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2596, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002122/0.2617, allocations: 1.287 MB / 1.028 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2629, allocations: 0.8522 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.2629, allocations: 3.938 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.2631, allocations: 15.92 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.2631, allocations: 7.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2636, allocations: 186.6 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.2637, allocations: 19.88 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.2638, allocations: 7.984 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.2638, allocations: 8 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.2638, allocations: 8 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.2638, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.2642, allocations: 239.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.2642, allocations: 19.92 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.2643, allocations: 15.88 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2646, allocations: 223.5 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2646, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2646, allocations: 0 / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2646, allocations: 0 / 1.03 GB, free: 15.13 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.000322/0.2649, allocations: 383.2 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.265, allocations: 8.031 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.265, allocations: 4.938 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.657e-05/0.2651, allocations: 164.3 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.2651, allocations: 4.375 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.2651, allocations: 4.312 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.2652, allocations: 50 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2652, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.2652, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2653, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.2653, allocations: 35.98 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.2655, allocations: 181.5 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.2655, allocations: 46.56 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.2656, allocations: 32.84 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.2656, allocations: 7.984 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2656, allocations: 38.5 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2656, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.2658, allocations: 81.67 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2658, allocations: 51.41 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2659, allocations: 141.2 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2659, allocations: 25.7 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.266, allocations: 92.05 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.266, allocations: 3.906 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.266, allocations: 29.83 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.2661, allocations: 318.8 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.2662, allocations: 43.97 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.2662, allocations: 39.98 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.028e-05/0.2663, allocations: 100.8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2663, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.2665, allocations: 121.7 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2665, allocations: 11.94 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2665, allocations: 3.938 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2665, allocations: 4 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.2666, allocations: 4 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2666, allocations: 3.938 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.2666, allocations: 7.906 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2666, allocations: 0 / 1.032 GB, free: 12.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.2667, allocations: 125.8 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.2667, allocations: 4.031 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2668, allocations: 81.12 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2668, allocations: 4.031 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2668, allocations: 4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2669, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.267, allocations: 177.6 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.267, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.267, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.267, allocations: 3.938 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.267, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.267, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.267, allocations: 3.938 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.2671, allocations: 97.11 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.2672, allocations: 84.95 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2672, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.2672, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.2672, allocations: 4 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2672, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.398e-05/0.2673, allocations: 107.2 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2673, allocations: 4.031 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002482/0.2675, allocations: 56 kB / 1.032 GB, free: 12.05 MB / 0.8106 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.0002864/0.2678, allocations: 163.2 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.2679, allocations: 67.91 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.268, allocations: 0 / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.268, allocations: 31.92 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2682, allocations: 34.47 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.2685, allocations: 153.5 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.2687, allocations: 0.6924 MB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.2687, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.2687, allocations: 15.5 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2687, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.004239/0.273, allocations: 2.121 MB / 1.035 GB, free: 8.781 MB / 0.8106 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 -s gbode -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/jenkins1/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