Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001517, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001691/0.001691, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.639/2.639, allocations: 472.7 MB / 0.746 GB, free: 392 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 75.88 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7903, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002213/0.7925, allocations: 1.29 MB / 1.228 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.7937, allocations: 0.7327 MB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.7937, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.7938, allocations: 3.938 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.321e-05/0.7938, allocations: 3.984 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.7943, allocations: 95.91 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.7944, allocations: 19.88 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.7944, allocations: 3.984 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.7945, allocations: 7.984 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.7945, allocations: 4 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.7945, allocations: 0 / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.7949, allocations: 148 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.7949, allocations: 7.938 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.795, allocations: 11.98 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.7952, allocations: 104.3 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.7952, allocations: 0 / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7952, allocations: 4 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.7953, allocations: 0 / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004185/0.7957, allocations: 335.4 kB / 1.229 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.7957, allocations: 8.031 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.7958, allocations: 0.9375 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.796, allocations: 172.3 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.796, allocations: 4.375 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.796, allocations: 384 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.7961, allocations: 45.94 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7961, allocations: 4 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.7961, allocations: 0 / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7961, allocations: 0 / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.7962, allocations: 15.92 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.7964, allocations: 149.7 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.399e-05/0.7965, allocations: 34.61 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.7965, allocations: 12.92 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001815/0.7984, allocations: 0.6572 MB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7984, allocations: 46.42 kB / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.7984, allocations: 0 / 1.23 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.00016/0.7986, allocations: 45.69 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.7986, allocations: 55.41 kB / 1.23 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/0.7987, allocations: 93.86 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.7987, allocations: 25.7 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.7987, allocations: 88.08 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.7988, allocations: 3.953 kB / 1.23 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.7988, allocations: 21.84 kB / 1.23 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7989, allocations: 314.8 kB / 1.231 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.799, allocations: 4 kB / 1.231 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.799, allocations: 4 kB / 1.231 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.799, allocations: 20.8 kB / 1.231 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.799, allocations: 0 / 1.231 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001084/0.7991, allocations: 49.64 kB / 1.231 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7992, allocations: 9.812 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7992, allocations: 4 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7992, allocations: 4 kB / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.7992, allocations: 7.984 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7993, allocations: 0 / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.7993, allocations: 0 / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.7993, allocations: 0 / 1.231 GB, free: 8.527 MB / 0.9512 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): 3 * 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 prepare postOptimizeDAE: time 6.712e-05/0.7994, allocations: 114.4 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.7994, allocations: 4.266 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.7995, allocations: 57.11 kB / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.7995, allocations: 4 kB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7995, allocations: 0 / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.7996, allocations: 92.97 kB / 1.231 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.7996, allocations: 4 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.7996, allocations: 0 / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.7996, allocations: 0 / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.31e-05/0.7997, allocations: 124.9 kB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000123/0.7998, allocations: 220 kB / 1.231 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.765e-05/0.7999, allocations: 8 kB / 1.231 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3e-05/0.7999, allocations: 79.27 kB / 1.232 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of Backend: time 4.11e-07/0.7999, allocations: 4 kB / 1.232 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.8004, allocations: 106.4 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004075/0.8008, allocations: 0.5576 MB / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of Templates: time 0.003034/0.8038, allocations: 0.9168 MB / 1.233 GB, free: 6.145 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches