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.001678/0.001678, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001635/0.001635, allocations: 183 kB / 17.34 MB, free: 5.766 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.16 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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.89 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8946/0.8962, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002294/0.8986, allocations: 1.273 MB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.9, allocations: 0.8466 MB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.9, allocations: 5 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.9002, allocations: 14.75 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.9002, allocations: 7.156 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.9009, allocations: 189.5 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.9009, allocations: 19.62 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.901, allocations: 1.859 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.901, allocations: 9.25 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.9011, allocations: 8.609 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.9011, allocations: 1.344 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.9016, allocations: 247.1 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.9016, allocations: 19.81 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.9017, allocations: 12.72 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.902, allocations: 218.8 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9021, allocations: 0.6094 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9021, allocations: 0 / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9021, allocations: 0 / 1.091 GB, free: 3.789 MB / 0.8575 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.0003482/0.9024, allocations: 383.7 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.9025, allocations: 10.12 kB / 1.092 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.9025, allocations: 7 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.9026, allocations: 169.9 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.9026, allocations: 1.156 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.9026, allocations: 5.312 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.9028, allocations: 46 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.9028, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.9028, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9028, allocations: 1.828 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.9029, allocations: 38.7 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.903, allocations: 182.1 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.9031, allocations: 51.83 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.9031, allocations: 24.7 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.9032, allocations: 5.219 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.9032, allocations: 31.16 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.9032, allocations: 4.688 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.9034, allocations: 85.12 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.9034, allocations: 51.41 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.9036, allocations: 142.7 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.9036, allocations: 26.52 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.9036, allocations: 91.59 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.9036, allocations: 9.969 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.9037, allocations: 20.88 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.9037, allocations: 323.8 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.9038, allocations: 38.41 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.9039, allocations: 48.5 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.904, allocations: 94.39 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.904, allocations: 0.5156 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001534/0.9041, allocations: 131 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9042, allocations: 5.094 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.9042, allocations: 0.8125 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9042, allocations: 0 / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.9043, allocations: 8.328 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9043, allocations: 0.625 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.9043, allocations: 13.19 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.9043, allocations: 1.547 kB / 1.093 GB, free: 2.059 MB / 0.8575 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 6.126e-05/0.9044, allocations: 118.1 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.9044, allocations: 2.438 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.9045, allocations: 80.3 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.9045, allocations: 1.062 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9045, allocations: 4.828 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9045, allocations: 0.8438 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.103e-05/0.9046, allocations: 185.1 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9046, allocations: 0.7031 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.9047, allocations: 3.078 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9047, allocations: 1.094 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.9047, allocations: 0 / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9047, allocations: 1.703 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9047, allocations: 0 / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.9048, allocations: 97.14 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.9048, allocations: 83.62 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.9048, allocations: 1.734 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.9048, allocations: 0 / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.9049, allocations: 1.797 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.9049, allocations: 4.938 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.9049, allocations: 105.6 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9049, allocations: 0 / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000328/0.9053, allocations: 58.73 kB / 1.094 GB, free: 1.406 MB / 0.8575 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.0003841/0.9057, allocations: 175.1 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.9058, allocations: 66.61 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9058, allocations: 4 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.9059, allocations: 20.23 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.9062, allocations: 37.98 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.9065, allocations: 195.4 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.9066, allocations: 0.6906 MB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.9066, allocations: 14.81 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.9066, allocations: 0 / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of Templates: time 0.004475/0.9111, allocations: 1.706 MB / 1.097 GB, free: 244 kB / 0.8575 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