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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00132/0.00132, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001275/0.001275, allocations: 187 kB / 17.34 MB, free: 5.742 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8783, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002742/0.8811, allocations: 1.28 MB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.8827, allocations: 0.857 MB / 1.211 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.8828, allocations: 0 / 1.211 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.883, allocations: 7.984 kB / 1.211 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.883, allocations: 11.92 kB / 1.211 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.8838, allocations: 191.5 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.8839, allocations: 11.94 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.8839, allocations: 7.984 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.8839, allocations: 8 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.884, allocations: 7.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.884, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.8845, allocations: 239.7 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.8845, allocations: 15.92 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.8846, allocations: 15.88 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.885, allocations: 221.4 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.885, allocations: 3.984 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.885, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.885, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 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.0004345/0.8854, allocations: 375.3 kB / 1.212 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8855, allocations: 12.02 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.8855, allocations: 4.844 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.8857, allocations: 182.4 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.8857, allocations: 4.375 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.8857, allocations: 384 / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.8858, allocations: 50 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.8858, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.8859, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.8859, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.336e-05/0.8859, allocations: 31.98 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.8861, allocations: 173.7 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/0.8862, allocations: 54.5 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.8862, allocations: 32.89 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.8863, allocations: 4 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.8863, allocations: 38.5 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8863, allocations: 0 / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001883/0.8865, allocations: 81.67 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.8866, allocations: 55.41 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.8867, allocations: 137.8 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.8867, allocations: 29.7 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.8868, allocations: 100.1 kB / 1.213 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.8868, allocations: 7.844 kB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.8869, allocations: 25.64 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.887, allocations: 314.8 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.887, allocations: 47.92 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.461e-05/0.8871, allocations: 39.97 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.8872, allocations: 96.81 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8872, allocations: 4 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000157/0.8873, allocations: 121.7 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8874, allocations: 11.94 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8874, allocations: 0 / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.8874, allocations: 0 / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.8875, allocations: 7.938 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8875, allocations: 0 / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.8875, allocations: 3.906 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.8875, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 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.593e-05/0.8876, allocations: 125.8 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.8876, allocations: 7.844 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.8878, allocations: 73.2 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8878, allocations: 4 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8878, allocations: 4 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8878, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.8879, allocations: 169.7 kB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8879, allocations: 3.984 kB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.888, allocations: 4 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.888, allocations: 3.938 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.888, allocations: 11.97 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.888, allocations: 0 / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.888, allocations: 0 / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.8881, allocations: 85.12 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.8881, allocations: 88.94 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.8882, allocations: 0 / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.8882, allocations: 4 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.8882, allocations: 8.031 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.8882, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.445e-05/0.8883, allocations: 106.1 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8883, allocations: 0 / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003076/0.8886, allocations: 60 kB / 1.214 GB, free: 7.801 MB / 0.9356 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.0004355/0.8891, allocations: 171.1 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.8892, allocations: 71.91 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8892, allocations: 4 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.8893, allocations: 19.98 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.8896, allocations: 35.91 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.8899, allocations: 183 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.8901, allocations: 0.6924 MB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.8902, allocations: 11.44 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8902, allocations: 0 / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of Templates: time 0.003783/0.894, allocations: 1.71 MB / 1.217 GB, free: 4.867 MB / 0.9356 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/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