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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001757/0.001757, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001727/0.001727, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.816/0.818, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002475/0.8205, allocations: 1.273 MB / 1.084 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.8219, allocations: 0.8457 MB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.822, allocations: 1.156 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.8222, allocations: 14.56 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.8222, allocations: 10.02 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.8229, allocations: 188.7 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.8229, allocations: 15.77 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.823, allocations: 1.906 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.823, allocations: 5.406 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.8231, allocations: 19.94 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.8231, allocations: 1.406 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.8235, allocations: 234.3 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.8236, allocations: 11.08 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.8236, allocations: 18.22 kB / 1.086 GB, free: 28 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.824, allocations: 219.4 kB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8241, allocations: 0 / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8241, allocations: 1.188 kB / 1.086 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8241, allocations: 0 / 1.086 GB, free: 15.96 MB / 0.8419 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.0004497/0.8245, allocations: 378.6 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8246, allocations: 13.16 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.8246, allocations: 6.781 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.8248, allocations: 177.8 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.8248, allocations: 6.141 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.8248, allocations: 5.25 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.8249, allocations: 49.3 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8249, allocations: 1.156 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.8249, allocations: 0 / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.825, allocations: 3.984 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.499e-05/0.825, allocations: 35.45 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.8253, allocations: 178.5 kB / 1.087 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.051e-05/0.8254, allocations: 51.34 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.8254, allocations: 21.73 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.8255, allocations: 5.578 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.8255, allocations: 46.38 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8255, allocations: 4 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.8257, allocations: 81.42 kB / 1.087 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.8257, allocations: 56.19 kB / 1.087 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.8259, allocations: 138.5 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.8259, allocations: 26.92 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.826, allocations: 92.06 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.826, allocations: 9.469 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.8261, allocations: 15.98 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8262, allocations: 324.9 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.8263, allocations: 42.19 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.8263, allocations: 47.42 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.8265, allocations: 95.64 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8265, allocations: 0 / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.8266, allocations: 123.1 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8267, allocations: 9.469 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.8267, allocations: 0 / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8267, allocations: 1.094 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.8268, allocations: 8.031 kB / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8268, allocations: 0 / 1.088 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.8268, allocations: 9.141 kB / 1.088 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.8268, allocations: 2.125 kB / 1.088 GB, free: 14.22 MB / 0.8419 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 0.0001005/0.8269, allocations: 121.2 kB / 1.088 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.8269, allocations: 10.88 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.8271, allocations: 72.56 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8271, allocations: 0.6562 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8271, allocations: 5.125 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8271, allocations: 0 / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.8273, allocations: 169.2 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8273, allocations: 0.5312 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.8273, allocations: 3.375 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8273, allocations: 4.938 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.8273, allocations: 10.06 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8273, allocations: 0 / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8273, allocations: 1.078 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.8274, allocations: 92.11 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.8275, allocations: 91.05 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.8275, allocations: 6.234 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.8276, allocations: 4 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.8276, allocations: 2.234 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.8276, allocations: 0.8438 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.8277, allocations: 101.7 kB / 1.088 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8277, allocations: 0 / 1.088 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003419/0.828, allocations: 63.25 kB / 1.088 GB, free: 13.57 MB / 0.8419 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.0003918/0.8284, allocations: 171 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.8286, allocations: 73.67 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8286, allocations: 0 / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.8286, allocations: 16.91 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.8289, allocations: 29.44 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.8292, allocations: 192.2 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.8296, allocations: 0.687 MB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.8296, allocations: 9.719 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.8296, allocations: 4 kB / 1.09 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.004111/0.8337, allocations: 1.698 MB / 1.091 GB, free: 12.42 MB / 0.8419 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=400 -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